DEV Community

Discussion on: Feature branches slow me down, but not with merge conflicts

Collapse
 
remotesynth profile image
Brian Rinaldi

I mean, I am completely biased as I work for LaunchDarkly, but this one of the core use cases for feature flags and LaunchDarkly. Rather than have a long living feature branch, the code gets merged back into main but sits behind a flag, so you and others you choose can test it in a test environment (or even in prod) but the rest of the world cannot see it. This avoids the long living feature branch and the merge conflicts and makes for a better, more flexible testing environment.