To optimize graphql resolver queries, we should use the data loader to resolve the relationship queries. Data loader is a dependency and needs to be added to our repo.
Current Behavior
Data loader hasnt been added to the project's dependencies.
Possible Solution
in the mix.exs file, add the data loader {:dataloader, "~> 1.0.6"}
Expected Behavior
To optimize graphql resolver queries, we should use the data loader to resolve the relationship queries. Data loader is a dependency and needs to be added to our repo.
Current Behavior
Data loader hasnt been added to the project's dependencies.
Possible Solution
mix.exs
file, add the data loader{:dataloader, "~> 1.0.6"}
mix deps.get