open-feature / spec

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

Manage context per named provider when using the static-context paradigm #218

Closed beeme1mr closed 6 months ago

beeme1mr commented 7 months ago

Overview

When an SDK follows the static-context paradigm, context can only be managed from global API object. This is to convey to application authors that changing context may lead to an expensive async operation.

Currently, there's a global evaluation context that's shared across all providers. This can lead to challenges like:

Requirements

References

toddbaert commented 7 months ago

I like the suggestion here.