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
Our GraphQL server has many dataloaders registered. I noticed that each dataloader is dispatched, and lists are allocated even when the dataloader has no work to do.
It would be great to avoid allocating these lists when the dataloader doesn't have work to do, especially when GraphQL queries are large (many calls to dispatchAll(), and there are many dataloaders registered that are sparsely used.
The text was updated successfully, but these errors were encountered:
Our GraphQL server has many dataloaders registered. I noticed that each dataloader is dispatched, and lists are allocated even when the dataloader has no work to do.
https://github.com/graphql-java/java-dataloader/blob/master/src/main/java/org/dataloader/DataLoaderHelper.java#L163-L169
It would be great to avoid allocating these lists when the dataloader doesn't have work to do, especially when GraphQL queries are large (many calls to
dispatchAll()
, and there are many dataloaders registered that are sparsely used.The text was updated successfully, but these errors were encountered: