Closed hamamou closed 9 months ago
Hi @hamamou,
Thank you for bringing this to our attention!
By design, since you cannot actually delete a feature flag environment configuration, what we do when you delete the resource is patch the environment configuration to match the main default configuration and turn the flag in the given environment off.
However, as you have correctly identified, it seems we have a bug where we are in fact setting the default off variation value to the last flag variation, which would be the default off variation value if it had not been manually overwritten. We should be setting this to the default off variation. We will address this this week and update you here.
Hi @hamamou!
I'm happy to let you know that we have addressed this issue and it will be included in the next release of our provider. I'm tackling a few more issues this week and will attempt a release either this week or next week, but if this is a blocker for you, let me know and I am happy to do a smaller release beforehand.
Hope your week is going well :)
Fantastic news, That's perfectly fine, we can wait until next week for the release. Thank you so much.
Hi @hamamou ! Just a quick update to say that this has been released in v2.18.0. Please do let us know if you have any other issues and have a great weekend!
Hello, Let's say we have a feature flag setup this way:
When deploying this configuration, the feature flag's behavior is set to false when targeting is off. If you remove the
my-flag-configuration
and redeploy, the behavior will be updated to serve true when targeting is off. The issue could be related to this line. Thank you.