-
-
Notifications
You must be signed in to change notification settings - Fork 782
Support for Batching #695
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
Comments
In order to support this we should introduce a new IBatchQueryExecutor that yields always a response stream on execute. public interface IBatchQueryExecutor
{
Task<IResponseStream> ExecuteAsync(IReadOnlyBatchQueryRequest request, CancellationToken cancellationToken);
} |
@export(as: "foo")The export directive can export a field result as variable under the same name as the field name or under a name specified by the The exported variables are pushed to a list. When a query is executed the batch executer will analyze if the query has all variables declared, if there are variables collected from a previous query that are not declared then the variable will be inferred from the argument/field in which they are used. |
https://github.com/apollographql/apollo-link/tree/master/packages/apollo-link-batch-http
https://blog.apollographql.com/batching-client-graphql-queries-a685f5bcd41b
https://sangria-graphql.org/learn/#batch-executor
The text was updated successfully, but these errors were encountered: