You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now change "foo": { to "foo2": { and re-execute the retrieval of foo. I'd expect a "no flag found" error or similar, but I still get baz.
Restart the flagd process and foo is no longer found (which is the correct behaviour).
Alternatively, run flagd and (while it is running) add a new flag called foo3. Now get foo3 and that works. Proving that adding dynamically works but deleting doesn't.
Activity
AlexsJones commentedon Oct 2, 2022
Thank you for submitting the bug, I suspect this is to do with the way we merge JSON schema together.
flagd/pkg/eval/json_evaluator.go
Line 40 in e13caea
@skyerus @toddbaert thoughts?
toddbaert commentedon Oct 3, 2022
Ya I think the merge was originally implemented without really thinking about flags being removed.
feat: (GO Feature Flag provider) introducing cache in the provider (o…
chore: resolve open dependabot security alerts (#1962)