-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
Description
Problem
I see that in #3271 there is an unchecked box about adding support for default variants to OpenFeature providers.
It appears from the latest Java lib and Go lib they both only check the resp.match
is true. Given that the resp.match == false
for default variants this means you can never get served the value of the default variant, and it falls back to the client side default.
Which major version?
v1
Ideal Solution
The simple fix is to just add a bit to those if statements checking resp.reason == DEFAULT_EVALUATION_REASON
and then to use the provided value if so.
Search
- I searched for other open and closed issues before opening this
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status