You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dannyheard7
changed the title
Nested DataLoaders are not dispatched during mutations
Nested DataLoaders in an intermediary service are not dispatched during mutations
Apr 24, 2025
dannyheard7
changed the title
Nested DataLoaders in an intermediary service are not dispatched during mutations
Nested DataLoaders are not dispatched during mutations
Apr 30, 2025
DataLoader nesting is not supported in Mutations. This has to do with a change be did in the executor for mutations. With V16 we will introduce a new executor for mutations.
Uh oh!
There was an error while loading. Please reload this page.
Product
Hot Chocolate
Version
15.1.3
Link to minimal reproduction
https://github.com/dannyheard7/NestedDataLoaderNotDispatchedInMutation
Steps to reproduce
Run the application and send the following mutation:
What is expected?
The
GetProductByIdAsync
dataloader is dispatched fromGetProductCatalogByIdAsync
instantlyWhat is actually happening?
The
GetProductByIdAsync
never dispatches/takes a very long time to dispatch.Additional context
The following query runs the same code, however in this case the nested data loader is dispatched instantly
The text was updated successfully, but these errors were encountered: