Repository navigation
FieldResolver for an array of object #1466
Answered
by
carlocorradini
oresteviron
asked this question in
Q&A
|
Hi, Here is my problem : And I resolve the owner of the cart with a type resolver : But, when I do a query for multiple carts, the FieldResolver will be called once for each cart. Which is inefficient. Is there a way to achieve this ? Thanks |
Answered by
carlocorradini
Jun 30, 2023
Replies: 2 comments
0 replies
Answer selected by
oresteviron
|
@carlocorradini thanks, for more details : And in the resolver : The users are effectivelly loaded once magically. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See
graphql dataloader