Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
beeme1mr opened this issue Nov 28, 2023 · 1 comment · Fixed by #221
Closed

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

beeme1mr opened this issue Nov 28, 2023 · 1 comment · Fixed by #221
Assignees

Comments

@beeme1mr
Copy link
Member

beeme1mr commented Nov 28, 2023

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:

  • Updating context fires the onContextChange handler for all registered providers.
  • Unable to manage context for a specific provider.
  • Context that's valid for one provider may be invalid in another.

Requirements

  • Define the requirements for managing context per named provider when using the static-context paradigm

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants