Support native types for getTreatment
David Martin
We should aim for parity or improvement on our competitor LaunchDarkly.  LD feature flags can have boolean, number, string, or JSON return types. When you create a flag, you choose the type, and the SDK will return a value that matches that type. For example, a boolean flag returns true or false, a string flag returns a string (up to 32KB), a number flag returns an integer or float, and a JSON flag returns a JSON object or array (up to 32KB). 
Typed returns make it easy for developers to be confident their flag has the right values without having to wrap our dynamic config with parsing logic.
Log In
