graphql-remote_loader
graphql-remote_loader copied to clipboard
Performant remote GraphQL queries from within the resolvers of a Ruby GraphQL API.
Is there a way to load cursor paginated queries with this? My first thought would be to just make proxy params for the loading like first and after but another...
When trying to query for a collection that has a remote relationship, I'm noticing that we have an inefficient query happening in the remote service where the related objects live....
Aliases are working fine. I can rename things in my query. But the bad thing is, that in the result everything is snake_cased. Is this line responsible for that? https://github.com/d12/graphql-remote_loader/blob/6ee709baab2a4d5bc05208be927a233254fca982/lib/graphql/remote_loader/loader.rb#L156...
Currently the remote loader only offers Query support. Look into whether mutations can be batched, how sending multiple mutations in one req. works, etc.
Some simple usecases are documented in the README.md but we could really use some thorough documentation.
Presently, if one field tries to load a syntactically invalid or type-invalid query, it will break the entire batched query and no data will be loaded. This could be avoided...
The loader is currently untested. We need integration tests!