We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, do you create 1 loader for each type of entity and that's enough? no need for separate loaders for subqueries? So if you query
entity
{Article (where: {id: 1}) { Comments { id } } }
, if you have a CommentLoader that will load as only 2 SQL calls?
CommentLoader
Or do we need a CommentByArticleLoader to only be used with this query?
CommentByArticleLoader
The text was updated successfully, but these errors were encountered:
You'll sometimes need to create separate loaders for subqueries
in this case I would do CommentByArticleLoader
Sorry, something went wrong.
No branches or pull requests
Hey, do you create 1 loader for each type of
entity
and that's enough? no need for separate loaders for subqueries? So if you query, if you have a
CommentLoader
that will load as only 2 SQL calls?Or do we need a
CommentByArticleLoader
to only be used with this query?The text was updated successfully, but these errors were encountered: