-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
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
clarify GraphQL::Batch.batch documentation #117
Comments
The documentation is lacking in the project, it mostly just has overview documentation in the form of a README, but could use reference documentation. Outside of a GraphQL context, The other thing |
One thing that took me a little while to figure out: If you're calling |
Hey guys, thanks a lot for the amazing work in this gem. Understanding why the loader wasn't working outside a GraphQL Context in our application took a while. This gem helped to fix a nightmare N+1 we had in our app, so I know how valuable it is for the Rails Community! |
We (at Shopify) don't actually use this library outside of GraphQL so if you want to contribute a section to the README that would be appreciated. |
I want to use GraphQL::Batch to load arguments for running mutations and it's not clear to me from reading the documentation if it is safe for me to use GraphQL::Batch.batch wherever I feel the need in my application. The note in the documentation refers only to using this in unit tests.
Can you provide clarification on whether GraphQL::Batch.batch can be safely used outside the test environment?
The text was updated successfully, but these errors were encountered: