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
.find
I have a virtual resolvers like so:
listItems: virtual(async (item, context) => { return context.params.loader.service('lists').find({ ...getAuthenticatedParams(context), query: { $select: ['name', 'path'], _id: { $in: item.lists } }, }).then(l => l.data); })
And when logging my lists service I'm not seeing any batched requests. Am I missing something?
The text was updated successfully, but these errors were encountered:
.find does not do any "batching". It is really only a cached find. Use the .load method for batching.
.load
Sorry, something went wrong.
Okay good to know. I've been digging in the docs some more and slowly learning all the ways to use load.
I've been meaning to update the docs and make them better. I know they aren't great. Sorry.
No branches or pull requests
I have a virtual resolvers like so:
And when logging my lists service I'm not seeing any batched requests. Am I missing something?
The text was updated successfully, but these errors were encountered: