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
Additional Context
No response
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.matchis true. Given that theresp.match == falsefor 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_REASONand then to use the provided value if so.Search
Additional Context
No response