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
I'm trying to plug this awesome dataloader module. It's working as expected so far but I'm observing redundant ecto queries in the following scenario. Here are absinthe objects of my graphql schema:
The blocker here is whether Dataloader can "see through" associations on a schema to determine that they have equivalent SQL that will be run. Not sure if this is doable.
I'm trying to plug this awesome dataloader module. It's working as expected so far but I'm observing redundant ecto queries in the following scenario. Here are absinthe objects of my graphql schema:
When I fire the query below I observe 4 queries
select * from users....
:Is there a way to define the absinthe objects so that there will be just one query for the users?
EDIT: the "hack" below is wrong (see my comment).
I managed to reduce the number of user queries by two using this “hack”
But is there a proper way to specify a unique key for all four fields?
The text was updated successfully, but these errors were encountered: