Francis Piché
Francis Piché
Hey there! Has there been any developments on this front ? I would love to be able to enable opentelemetry tracing for Skipper, since it would plug nicely into the...
The main part that was surprising was that repeated "get" calls resulted in global state growing. I would expect to either return a cached state or to be returned a...
[Bug] OpenFeatureClient _typecheck_flag_value incorrectly raises type mismatch between int and float
Yes it causes issues for users that are acutally kind of insidious.. From the flag provider point of view (example: Launch Darkly UI) we can see that the flag value...
[Bug] OpenFeatureClient _typecheck_flag_value incorrectly raises type mismatch between int and float
One other piece of context that might be relevant is that the launch darkly openfeature provider tries to handle this gracefully on their side https://github.com/launchdarkly/openfeature-python-server/blob/main/ld_openfeature/provider.py#L165-L166 , but ultimately the check...
[Bug] OpenFeatureClient _typecheck_flag_value incorrectly raises type mismatch between int and float
> this seems to be a normal behavior to throw an error if you ask for an int and the provider give you a float. Yes however here we have...
[Bug] OpenFeatureClient _typecheck_flag_value incorrectly raises type mismatch between int and float
IMO even if the flag provider did correctly propagate the value as a float back to the openfeature client its still not desirable behaviour to throw on a type mismatch...
[Bug] OpenFeatureClient _typecheck_flag_value incorrectly raises type mismatch between int and float
> the value you provide in the evaluation will not be the one from the flag management system Fair point for casting floats to ints, however thats not the issue...
[Bug] OpenFeatureClient _typecheck_flag_value incorrectly raises type mismatch between int and float
> still think this is the provider responsibility to do it Fair, and I agree, however the current [type check on the openfeature.client side](https://github.com/open-feature/python-sdk/blob/main/openfeature/client.py#L959-L974) is preventing the [ld provider](https://github.com/launchdarkly/openfeature-python-server/blob/main/ld_openfeature/provider.py#L165-L166) from...