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

feat: Replace global streaming state with context API #32

Closed
wants to merge 3 commits into from

Conversation

EvanBoyle
Copy link
Member

Replaces the global state in #29 with a context API that can be used to accumulate and track state across different parts of the subgraph.

Streaming is intrinsic to the framework, and the framework is very aware of the streaming context values. However, the general API should support other use cases in the future such as:

  • tracing
  • loggers
  • error boundaries
  • caching
  • configuration inheritence

@EvanBoyle
Copy link
Member Author

Closing in favor of #36

@EvanBoyle EvanBoyle closed this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant