open-feature / spec

OpenFeature specification
https://openfeature.dev
Apache License 2.0
595 stars 35 forks source link

Spec change for named client -> provider mappings #183

Closed justinabrahms closed 1 year ago

justinabrahms commented 1 year ago

This PR

Adds support for mapping a named client to a specific provider.

Related Issues

Refs https://github.com/open-feature/ofep/pull/56

Notes

Example of this implemented in Java: https://github.com/open-feature/java-sdk/pull/388

toddbaert commented 1 year ago

I think we might need additional point(s) about retrieving a named client bound to a non-default provider. I'm also wondering if we need to spec that clients retrieved with a given name return the same object instance (or do they just generate a new client associated with the provider bound to that name?)