Skip to content

Commit

Permalink
Do not do batching for a single subschema
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Jul 31, 2023
1 parent 53e2232 commit 4b9dd3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/runtime/src/useSubschema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ function getExecuteFn(subschema: Subschema) {
if (executor == null) {
executor = createDefaultExecutor(subschema.schema);
}
/*
if (subschema.batch) {
executor = createBatchingExecutor(executor);
}
*/
const transformationContext: Record<string, any> = {};
const transformedRequest = applyRequestTransforms(
originalRequest,
Expand Down

0 comments on commit 4b9dd3f

Please sign in to comment.