Repository navigation
Prevent @defer & @stream on root mutation or subscription fields
#19
Replies: 3 comments 6 replies
|
Discussed in Dec 2021 WG meeting and there was wide agreement on adding validation preventing |
|
I updated the spec and graphql-js PRs adding a validation rule which prevents defer/stream on root mutation/subscription fields |
|
@michaelstaib @robrichard - I have a use case where I am modifying server data and thus would like to use the mutation operation. During this operation, I am performing a long series of running tasks where I would like to keep the user notified of the progress using I am currently on Hot Chocolate for ASPNet Core version 15.1.4. Please let me know if you have any questions or even possible suggestions. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Context
@benjie: graphql/graphql-spec#742 (comment)
Decision
Discussed in Dec 2021 WG meeting and there was wide agreement on adding validation preventing @defer and @stream on root selection set of Mutation or Subscription operations.
Status
Related
All reactions