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

Documentation for AddScopedSubscriptionExecutionStrategy #3815

Open
Shane32 opened this issue Dec 12, 2023 · 0 comments
Open

Documentation for AddScopedSubscriptionExecutionStrategy #3815

Shane32 opened this issue Dec 12, 2023 · 0 comments
Labels
bounty An issue which has a bounty set on it documentation An issue or pull request regarding documentation improvements

Comments

@Shane32
Copy link
Member

Shane32 commented Dec 12, 2023

This issue participates in bounty program, see https://github.com/graphql-dotnet/graphql-dotnet/blob/master/BOUNTY.md

Bounty amount: $40

Tasks to be done:

  • Add documentation regarding scoped services and their use within subscriptions
    • Explain RequestServices behavior for typical subscriptions (without AddScopedSubscriptionExecutionStrategy)
    • Explain how AddScopedSubscriptionExecutionStrategy helps, why it defaults to using a serial execution strategy, etc
  • Documentation should assume the use of GraphQL.NET Server where applicable
  • See How to get RequestServices In Resolver Type of Subscription #3812 for a lot of this information
  • New documentation should likely be added to a new section in the Getting Started - Dependency Injection page, or certainly referenced from there

[ORIGINAL POST BELOW]

Can you give me some documentation

I don't see that we have any documentation regarding proper use of AddScopedSubscriptionExecutionStrategy unfortunately.

It should added to this page probably: https://graphql-dotnet.github.io/docs/getting-started/dependency-injection/

Originally posted by @Shane32 in #3812 (comment)

@Shane32 Shane32 added documentation An issue or pull request regarding documentation improvements bounty An issue which has a bounty set on it labels Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty An issue which has a bounty set on it documentation An issue or pull request regarding documentation improvements
Projects
None yet
Development

No branches or pull requests

1 participant