thomaspoignant / go-feature-flag

GO Feature Flag is a simple, complete and lightweight self-hosted feature flag solution 100% Open Source. 🎛️
https://gofeatureflag.org/
MIT License
1.28k stars 125 forks source link

(change) Check that all providers works without the field errorCode in the response #2035

Closed thomaspoignant closed 2 months ago

thomaspoignant commented 3 months ago

Motivation

It should be OK to consider there is no error if the relay proxy is not returning any errorCode in the evaluation response API.

Requirements

Check that if we remove the field from the response that all providers are working as expected:

thomaspoignant commented 3 months ago

I've opened a PR for the Java provider that was falling if errorCode was not provided: https://github.com/open-feature/java-sdk-contrib/pull/855

thomaspoignant commented 2 months ago

After doing so small changes we have checked that all providers are working without errorCode.