ardatan / graphql-mesh

๐Ÿ•ธ๏ธ GraphQL Federation Framework for any API services such as REST, OpenAPI, Swagger, SOAP, gRPC and more...
https://the-guild.dev/graphql/mesh
MIT License
3.3k stars 347 forks source link

Mesh SDK execution fails #1339

Open tvvignesh opened 3 years ago

tvvignesh commented 3 years ago

I just got a huge scary error today when I called an SDK function. This error occurs at runtime when the call is made and there are no syntactical errors.

1) I tried running the raw query directly in the database (Dgraph) and it is valid and works. 2) I also tried hardcoding the inputs strings in the query but still get the same error. 3) I also tried regenerating the SDK and it does not help

This error is most probably because of adding encapsulation (it worked before).

Any clues? Thanks,

await this.sdk.updateAuthMethod({
          updatedAuthMethod: {
            filter: {
              id: {
                eq: authMethodID
              }
            },
            set: {
              refreshToken: refreshToken
            }
          }
        });
[tc-svc-auth] [nodemon] AggregateError: 
[tc-svc-auth] [nodemon]     Error: graphqlTools0___typename was not executed because no suitable resolver could be found - this indicates a resolver or validation bug. Please let us know by filing an issue.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___gqtld0__ was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___gqtld1__ was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:63:9)
[tc-svc-auth] [nodemon]     at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]     at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]     at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]     at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]     at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]     at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]     at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     at processTicksAndRejections (node:internal/process/task_queues:93:5)
[tc-svc-auth] [nodemon]     at /app/node_modules/.pnpm/@graphql-mesh/runtime@0.10.8_graphql@15.4.0/dist/runtime/src/resolvers-hooks.js:88:32 {
[tc-svc-auth] [nodemon]   path: [ 'globalDB' ]
[tc-svc-auth] [nodemon] }
[tc-svc-auth] [nodemon] GraphQLMeshSdkError: GraphQL Mesh SDK Failed (1 errors): 
[tc-svc-auth] [nodemon]     Error: graphqlTools0___typename was not executed because no suitable resolver could be found - this indicates a resolver or validation bug. Please let us know by filing an issue.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___gqtld0__ was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     Error: Mutation graphqlTools0___gqtld1__ was not executed because of a previous error.
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]         at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]     at localRequester (/app/node_modules/.pnpm/@graphql-mesh/runtime@0.10.8_graphql@15.4.0/dist/runtime/src/get-mesh.js:92:19)
[tc-svc-auth] [nodemon]     at processTicksAndRejections (node:internal/process/task_queues:93:5)
[tc-svc-auth] [nodemon]     at AuthMethod.updateAccountWorkflow (file:///app/packages/modules/authMethod/src/providers/AuthMethod.ts:830:9)
[tc-svc-auth] [nodemon]     at Object.handleProviderCallback (file:///app/packages/modules/authMethod/src/utils/provider.ts:54:30) {
[tc-svc-auth] [nodemon]   errors: [
[tc-svc-auth] [nodemon]     AggregateError: 
[tc-svc-auth] [nodemon]         Error: graphqlTools0___typename was not executed because no suitable resolver could be found - this indicates a resolver or validation bug. Please let us know by filing an issue.
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]             at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]             at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]             at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]             at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]             at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]             at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]             at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]         Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]             at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]             at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]             at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]             at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]             at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]             at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]             at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]         Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]             at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]             at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]             at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]             at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]             at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]             at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]             at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]         Error: Mutation graphqlTools0___gqtld0__ was not executed because of a previous error.
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]             at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]             at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]             at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]             at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]             at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]             at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]             at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]         Error: Mutation graphqlTools0___typename was not executed because of a previous error.
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]             at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]             at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]             at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]             at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]             at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]             at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]             at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]         Error: Mutation graphqlTools0___gqtld1__ was not executed because of a previous error.
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:52:38
[tc-svc-auth] [nodemon]             at Array.map (<anonymous>)
[tc-svc-auth] [nodemon]             at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:46:50)
[tc-svc-auth] [nodemon]             at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]             at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]             at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]             at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]             at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]             at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]         at new AggregateError (/app/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/src/AggregateError.ts:63:9)
[tc-svc-auth] [nodemon]         at mergeDataAndErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:24:39)
[tc-svc-auth] [nodemon]         at checkResultAndHandleErrors (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:11:38)
[tc-svc-auth] [nodemon]         at CheckResultAndHandleErrors.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/transforms/CheckResultAndHandleErrors.js:7:16)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:19:40
[tc-svc-auth] [nodemon]         at Array.reduceRight (<anonymous>)
[tc-svc-auth] [nodemon]         at Transformer.transformResult (/app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/Transformer.js:18:37)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/dist/delegate/src/delegateToSchema.js:93:36
[tc-svc-auth] [nodemon]         at processTicksAndRejections (node:internal/process/task_queues:93:5)
[tc-svc-auth] [nodemon]         at /app/node_modules/.pnpm/@graphql-mesh/runtime@0.10.8_graphql@15.4.0/dist/runtime/src/resolvers-hooks.js:88:32 {
[tc-svc-auth] [nodemon]       path: [Array]
[tc-svc-auth] [nodemon]     }
[tc-svc-auth] [nodemon]   ],
[tc-svc-auth] [nodemon]   document: { kind: 'Document', definitions: [ [Object] ] },
[tc-svc-auth] [nodemon]   variables: { updatedAuthMethod: { filter: [Object], set: [Object] } },
[tc-svc-auth] [nodemon]   data: [Object: null prototype] { globalDB: null }
[tc-svc-auth] [nodemon] }

CC: @dotansimha @ardatan

tvvignesh commented 3 years ago

UPDATE: Unlike last time, the queries work well with encapsulation now but all mutations fail with latest packages. Moved away again from encapsulation to using only prefix and rewriting it all again and the errors are now gone.

I will stay away from encapsulation for some time. Don't want to rewrite everything again ๐Ÿ˜…

Want to freeze the stack and focus on the logic now. Will stick with prefix since that works without issues.

ardatan commented 3 years ago

Is this updatedAuthMethod coming from additionalTypeDefs and additionalResolvers? It seems it is coming from stitching packages of graphql-tools?

tvvignesh commented 3 years ago

@ardatan updatedAuthMethod is the custom mutation I wrote - nothing special. Just calling a mutation to the backend via the mesh.

Not doing anything else from my end in this case. The error occurs when the SDK call happens (when the mutation is encapsulated). Now that I have removed the encapsulation, errors went away.

Not sure what you mean here by additionalTypeDefs and additionalResolvers

tvvignesh commented 3 years ago

For context, this is the PNPM Lockfile I use with all the deps: https://gist.github.com/tvvignesh/b882379b25db4629fb29f3330ba0957c

yaacovCR commented 3 years ago

Are you able to log the query hitting dgraph prior to it failing? It looks like aliases used for batching are not working right, or not working right with __typename, prefixing, etc. What actually gets sent?

ardatan commented 3 years ago

@tvvignesh How do you write custom mutation and what does it have inside of it?

tvvignesh commented 3 years ago

@ardatan It is a query to Dgraph. Nothing special. Here globalDB is the prefix I use when talking to Dgraph via mesh.

This is how I wrote it when I used encapsulation:

mutation updateAuthMethod ($updatedAuthMethod: globalDBUpdateAuthMethodInput!) {
    globalDB {
        updateAuthMethod(input: $updatedAuthMethod) {
        authMethod {
            id
            authKey
            verificationStatus
            authProviderMethod {
            id
            }
            metadata
            account {
            id
            }
            creationTime
        }
        }
    }
}

And when I removed encapsulation, this is how I use it now (which works):

mutation updateAuthMethod ($updatedAuthMethod: globalDBUpdateAuthMethodInput!) {
    updateAuthMethod(input: $updatedAuthMethod) {
      authMethod {
        id
        authKey
        verificationStatus
        authProviderMethod {
          id
        }
        metadata
        account {
          id
        }
        creationTime
      }
    }
}
tvvignesh commented 3 years ago

@yaacovCR I have not enabled query logging in Dgraph. Will add it now. Anywhere you would like me to add a log in the Mesh SDK rather?

PS: This happens not only for specific mutations but all mutations when using encapsulation.

yaacovCR commented 3 years ago

Dgraph log works, final transformed query.

tvvignesh commented 3 years ago

@yaacovCR @ardatan I just checked after enabling logs in Dgraph. When encapsulation is enabled, the mutations don't reach Dgraph at all, the queries do. So, there are no logs for mutations but rather I get the error returned as mentioned in the issue above.

tvvignesh commented 3 years ago

The request:

1

The complete response:

HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 47046
ETag: W/"b7c6-f7EyAillLzwkOoPic/9e/8DQtUA"
Date: Fri, 25 Dec 2020 10:14:14 GMT
Connection: close

{
  "errors": [
    {
      "message": "\n    Error: graphqlTools0___typename was not executed because no suitable resolver could be found - this indicates a resolver or validation bug. Please let us know by filing an issue.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___typename was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___typename was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___gqtld0__ was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___typename was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___gqtld1__ was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
      "name": "GraphQLError",
      "originalError": {
        "name": "AggregateError",
        "message": "\n    Error: graphqlTools0___typename was not executed because no suitable resolver could be found - this indicates a resolver or validation bug. Please let us know by filing an issue.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___typename was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___typename was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___gqtld0__ was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___typename was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36\n    Error: Mutation graphqlTools0___gqtld1__ was not executed because of a previous error.\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38\n        at Array.map (<anonymous>)\n        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)\n        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)\n        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)\n        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40\n        at Array.reduceRight (<anonymous>)\n        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)\n        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "stack": [
          "AggregateError: ",
          "    Error: graphqlTools0___typename was not executed because no suitable resolver could be found - this indicates a resolver or validation bug. Please let us know by filing an issue.",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
          "        at Array.map (<anonymous>)",
          "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
          "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
          "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
          "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
          "        at Array.reduceRight (<anonymous>)",
          "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
          "    Error: Mutation graphqlTools0___typename was not executed because of a previous error.",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
          "        at Array.map (<anonymous>)",
          "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
          "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
          "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
          "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
          "        at Array.reduceRight (<anonymous>)",
          "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
          "    Error: Mutation graphqlTools0___typename was not executed because of a previous error.",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
          "        at Array.map (<anonymous>)",
          "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
          "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
          "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
          "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
          "        at Array.reduceRight (<anonymous>)",
          "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
          "    Error: Mutation graphqlTools0___gqtld0__ was not executed because of a previous error.",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
          "        at Array.map (<anonymous>)",
          "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
          "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
          "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
          "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
          "        at Array.reduceRight (<anonymous>)",
          "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
          "    Error: Mutation graphqlTools0___typename was not executed because of a previous error.",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
          "        at Array.map (<anonymous>)",
          "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
          "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
          "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
          "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
          "        at Array.reduceRight (<anonymous>)",
          "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
          "    Error: Mutation graphqlTools0___gqtld1__ was not executed because of a previous error.",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
          "        at Array.map (<anonymous>)",
          "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
          "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
          "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
          "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
          "        at Array.reduceRight (<anonymous>)",
          "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
          "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
          "    at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:141:24)",
          "    at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
          "    at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
          "    at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
          "    at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
          "    at Array.reduceRight (<anonymous>)",
          "    at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
          "    at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
          "    at processTicksAndRejections (node:internal/process/task_queues:93:5)",
          "    at async /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-mesh/runtime@0.10.8_graphql@15.4.0/node_modules/@graphql-mesh/runtime/index.cjs.js:95:32"
        ]
      },
      "path": [
        "globalDB"
      ],
      "source": {
        "locationOffset": {}
      },
      "stack": [
        "AggregateError: ",
        "    Error: graphqlTools0___typename was not executed because no suitable resolver could be found - this indicates a resolver or validation bug. Please let us know by filing an issue.",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
        "        at Array.map (<anonymous>)",
        "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
        "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
        "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "        at Array.reduceRight (<anonymous>)",
        "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    Error: Mutation graphqlTools0___typename was not executed because of a previous error.",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
        "        at Array.map (<anonymous>)",
        "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
        "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
        "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "        at Array.reduceRight (<anonymous>)",
        "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    Error: Mutation graphqlTools0___typename was not executed because of a previous error.",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
        "        at Array.map (<anonymous>)",
        "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
        "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
        "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "        at Array.reduceRight (<anonymous>)",
        "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    Error: Mutation graphqlTools0___gqtld0__ was not executed because of a previous error.",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
        "        at Array.map (<anonymous>)",
        "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
        "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
        "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "        at Array.reduceRight (<anonymous>)",
        "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    Error: Mutation graphqlTools0___typename was not executed because of a previous error.",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
        "        at Array.map (<anonymous>)",
        "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
        "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
        "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "        at Array.reduceRight (<anonymous>)",
        "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    Error: Mutation graphqlTools0___gqtld1__ was not executed because of a previous error.",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:130:38",
        "        at Array.map (<anonymous>)",
        "        at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:124:39)",
        "        at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
        "        at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "        at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "        at Array.reduceRight (<anonymous>)",
        "        at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "        at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    at new AggregateError (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@ardatan/aggregate-error@0.0.6/node_modules/@ardatan/aggregate-error/index.cjs.js:141:24)",
        "    at mergeDataAndErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1406:47)",
        "    at checkResultAndHandleErrors (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1393:38)",
        "    at CheckResultAndHandleErrors.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1389:16)",
        "    at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1576:40",
        "    at Array.reduceRight (<anonymous>)",
        "    at Transformer.transformResult (/data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1575:37)",
        "    at /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-tools/delegate@7.0.8_graphql@15.4.0/node_modules/@graphql-tools/delegate/index.cjs.js:1664:36",
        "    at processTicksAndRejections (node:internal/process/task_queues:93:5)",
        "    at async /data/tc/projects/mlp/tc-services-global/tc-svc-auth/node_modules/.pnpm/@graphql-mesh/runtime@0.10.8_graphql@15.4.0/node_modules/@graphql-mesh/runtime/index.cjs.js:95:32"
      ]
    }
  ],
  "data": {
    "globalDB": null
  }
}
tvvignesh commented 3 years ago

To give a minimal repro, I did not involve any of my code in the repro above. I just did a mesh serve and ran the query against the mesh as you see that the server is shown as express while I use fastify.

Rolling back to prefix now. Anything else you want me to test before that?

tvvignesh commented 3 years ago

I added a log to the Mesh SDK execution like this in @graphql-mesh/cli/bin.js:

1

And these are the logs I get:

operationName undefined
query mutation updateAuthMethod ($updatedAuthMethod: globalDBUpdateAuthMethodInput!) {
  globalDB {
    updateAuthMethod(input: $updatedAuthMethod) {
      authMethod {
        id
        authKey
        verificationStatus
        authProviderMethod {
          id
        }
        metadata
        account {
          id
        }
        creationTime
     }
    }
  }
}
variables {
  updatedAuthMethod: { filter: { id: [Object] }, set: { refreshToken: 'abcd' } }
}
request {
  body: {
    query: 'mutation updateAuthMethod ($updatedAuthMethod: globalDBUpdateAuthMethodInput!) {\n' +
      '  globalDB {\n' +
      '    updateAuthMethod(input: $updatedAuthMethod) {\n' +
      '      authMethod {\n' +
      '        id\n' +
      '        authKey\n' +
      '        verificationStatus\n' +
      '        authProviderMethod {\n' +
      '          id\n' +
      '        }\n' +
      '        metadata\n' +
      '        account {\n' +
      '          id\n' +
      '        }\n' +
      '        creationTime\n' +
      '     }\n' +
      '    }\n' +
      '  }\n' +
      '}',
    variables: { updatedAuthMethod: [Object] }
  },
  headers: {
    'user-agent': 'vscode-restclient',
    'content-type': 'application/json',
    'accept-encoding': 'gzip, deflate',
    'content-length': '492',
    host: 'localhost:1999',
    connection: 'close'
  },
  method: 'POST',
  query: {}
}
tvvignesh commented 3 years ago

And the result of the above request is nothing but the same error as mentioned in this issue:

1

(And all this without involving any of my code and just using mesh serve)

tvvignesh commented 3 years ago

The error occurs in the mesh runtime precisely in this line: const result = await originalResolver(root, args, proxyContext, info); because I get the same error when logging result

tvvignesh commented 3 years ago

Digging deep the error occurs when composing resolvers, the package from gql tools: resolversComposition.composeResolvers

yaacovCR commented 3 years ago

I think the error you are getting has to do with aliasing the typename introspection field for mutations. I think the things to see is whether you can submit to dgraph a mutation with typename as root field, and then try again with an alias....

Although I am not clear if the mutation is not hitting dgraph at all or if it fails validation so it doesn't get logged... Either way, we need to see that query, I wonder if you can put logging into batch-execute package which seems to be responsible for that __typename prefix

yaacovCR commented 3 years ago

https://github.com/ardatan/graphql-tools/blob/fed008c867e945865449e2d8905aa9e9dfbcc0c1/packages/batch-execute/src/mergeExecutionParams.ts#L98

tvvignesh commented 3 years ago

Sure. Will try it and reply now. Btw, this is the response of composeResolvers when server starts (not during mutation execution).

1
tvvignesh commented 3 years ago

@yaacovCR This is what I get. Any specific value you are looking for?

----mergedOperationDefinition:: {
  kind: 'OperationDefinition',
  operation: 'mutation',
  variableDefinitions: [
    {
      kind: 'VariableDefinition',
      variable: [Object],
      type: [Object],
      defaultValue: undefined,
      directives: [],
      loc: [Object]
    }
  ],
  selectionSet: {
    kind: 'SelectionSet',
    selections: [ [Object], [Object], [Object], [Object], [Object], [Object] ]
  }
}
---return:: {
  document: { kind: 'Document', definitions: [ [Object] ] },
  variables: [Object: null prototype] {
    graphqlTools0_updatedAuthMethod: { filter: [Object], set: [Object] }
  },
  extensions: [Object: null prototype] {},
  context: {
    _readableState: ReadableState {
      objectMode: false,
      highWaterMark: 16384,
      buffer: BufferList { head: null, tail: null, length: 0 },
      length: 0,
      pipes: [],
      flowing: true,
      ended: true,
      endEmitted: true,
      reading: false,
      constructed: true,
      sync: false,
      needReadable: false,
      emittedReadable: false,
      readableListening: false,
      resumeScheduled: false,
      errorEmitted: false,
      emitClose: true,
      autoDestroy: false,
      destroyed: false,
      errored: null,
      closed: false,
      closeEmitted: false,
      defaultEncoding: 'utf8',
      awaitDrainWriters: null,
      multiAwaitDrain: false,
      readingMore: false,
      decoder: null,
      encoding: null,
      [Symbol(kPaused)]: false
    },
    _events: [Object: null prototype] { end: [Function: clearRequestTimeout] },
    _eventsCount: 1,
    _maxListeners: undefined,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: null,
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 8,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: true,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: [Server],
      _server: [Server],
      parser: [HTTPParser],
      on: [Function: socketListenerWrap],
      addListener: [Function: socketListenerWrap],
      prependListener: [Function: socketListenerWrap],
      setEncoding: [Function: socketSetEncoding],
      _paused: false,
      _httpMessage: [ServerResponse],
      [Symbol(async_id_symbol)]: 164,
      [Symbol(kHandle)]: [TCP],
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(RequestTimeout)]: undefined
    },
    httpVersionMajor: 1,
    httpVersionMinor: 1,
    httpVersion: '1.1',
    complete: true,
    rawHeaders: [
      'user-agent',
      'vscode-restclient',
      'content-type',
      'application/json',
      'accept-encoding',
      'gzip, deflate',
      'content-length',
      '492',
      'Host',
      'localhost:1999',
      'Connection',
      'close'
    ],
    rawTrailers: [],
    aborted: false,
    upgrade: false,
    url: '/graphql',
    method: 'POST',
    statusCode: null,
    statusMessage: null,
    client: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: null,
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 8,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: true,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: [Server],
      _server: [Server],
      parser: [HTTPParser],
      on: [Function: socketListenerWrap],
      addListener: [Function: socketListenerWrap],
      prependListener: [Function: socketListenerWrap],
      setEncoding: [Function: socketSetEncoding],
      _paused: false,
      _httpMessage: [ServerResponse],
      [Symbol(async_id_symbol)]: 164,
      [Symbol(kHandle)]: [TCP],
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(RequestTimeout)]: undefined
    },
    _consuming: true,
    _dumped: false,
    next: [Function: next],
    baseUrl: '',
    originalUrl: '/graphql',
    _parsedUrl: Url {
      protocol: null,
      slashes: null,
      auth: null,
      host: null,
      port: null,
      hostname: null,
      hash: null,
      search: null,
      query: null,
      pathname: '/graphql',
      path: '/graphql',
      href: '/graphql',
      _raw: '/graphql'
    },
    params: {},
    query: {},
    res: ServerResponse {
      _events: [Object: null prototype],
      _eventsCount: 1,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: false,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: true,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: null,
      _hasBody: true,
      _trailer: '',
      finished: false,
      _headerSent: false,
      _closed: false,
      socket: [Socket],
      _header: null,
      _keepAliveTimeout: 5000,
      _onPendingData: [Function: bound updateOutgoingData],
      _sent100: false,
      _expect_continue: false,
      req: [IncomingMessage],
      locals: [Object: null prototype] {},
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    body: {
      query: 'mutation updateAuthMethod ($updatedAuthMethod: globalDBUpdateAuthMethodInput!) {\n' +
        '  globalDB {\n' +
        '    updateAuthMethod(input: $updatedAuthMethod) {\n' +
        '      authMethod {\n' +
        '        id\n' +
        '        authKey\n' +
        '        verificationStatus\n' +
        '        authProviderMethod {\n' +
        '          id\n' +
        '        }\n' +
        '        metadata\n' +
        '        account {\n' +
        '          id\n' +
        '        }\n' +
        '        creationTime\n' +
        '     }\n' +
        '    }\n' +
        '  }\n' +
        '}',
      variables: [Object]
    },
    _body: true,
    length: undefined,
    secret: undefined,
    cookies: [Object: null prototype] {},
    signedCookies: [Object: null prototype] {},
    route: Route { path: '/graphql', stack: [Array], methods: [Object] },
    pubsub: PubSub { ee: [EventEmitter], subscriptions: {}, subIdCounter: 0 },
    TC_SVC_WORKSPACE: { rawSource: [Object], [Symbol(isMeshAPIContext)]: true },
    accountSVC: { rawSource: [Object], [Symbol(isMeshAPIContext)]: true },
    globalDB: { rawSource: [Object], [Symbol(isMeshAPIContext)]: true },
    [Symbol(kCapture)]: false,
    [Symbol(kHeaders)]: {
      'user-agent': 'vscode-restclient',
      'content-type': 'application/json',
      'accept-encoding': 'gzip, deflate',
      'content-length': '492',
      host: 'localhost:1999',
      connection: 'close'
    },
    [Symbol(kHeadersCount)]: 12,
    [Symbol(kTrailers)]: null,
    [Symbol(kTrailersCount)]: 0,
    [Symbol(RequestTimeout)]: undefined,
    [Symbol(isMeshContext)]: true
  },
  info: {
    fieldName: 'globalDB',
    fieldNodes: [ [Object] ],
    returnType: globalDBMutation,
    parentType: Mutation,
    path: { prev: undefined, key: 'globalDB', typename: 'Mutation' },
    schema: GraphQLSchema {
      __validationErrors: [],
      description: undefined,
      extensions: [Object: null prototype],
      astNode: undefined,
      extensionASTNodes: [],
      _queryType: Query,
      _mutationType: Mutation,
      _subscriptionType: undefined,
      _directives: [Array],
      _typeMap: [Object: null prototype],
      _subTypeMap: [Object: null prototype] {},
      _implementationsMap: [Object: null prototype] {}
    },
    fragments: [Object: null prototype] {},
    rootValue: {},
    operation: {
      kind: 'OperationDefinition',
      operation: 'mutation',
      name: [Object],
      variableDefinitions: [Array],
      directives: [],
      selectionSet: [Object],
      loc: [Object]
    },
    variableValues: { updatedAuthMethod: [Object] }
  }
}
tvvignesh commented 3 years ago

Anyways, no pressure ๐Ÿ˜… Rolling it back now to prefix now and will work with it. Maybe this error is caused since nesting the mutations using encapsulation require nesting the resolvers as well.

yaacovCR commented 3 years ago

Print that document, please :)

tvvignesh commented 3 years ago

@yaacovCR This is what I see when I print the document:

mutation ($graphqlTools0_updatedAuthMethod: UpdateAuthMethodInput!) {
  graphqlTools0___typename: __typename
  graphqlTools0___typename: __typename
  graphqlTools0___typename: __typename
  graphqlTools0___gqtld0__: __typename
  graphqlTools0___typename: __typename
  graphqlTools0___gqtld1__: updateAuthMethod(
    input: $graphqlTools0_updatedAuthMethod
  ) {
    __typename
    __typename
    __typename
    authMethod {
      __typename
      __typename
      __typename
      id
      __typename
      __typename
      __typename
      authKey
      __typename
      __typename
      __typename
      verificationStatus
      __typename
      __typename
      __typename
      authProviderMethod {
        __typename
        __typename
        __typename
        id
      }
      __typename
      __typename
      __typename
      metadata
      __typename
      __typename
      __typename
      account {
        __typename
        __typename
        __typename
        id
      }
      __typename
      __typename
      __typename
      creationTime
    }
  }
}
tvvignesh commented 3 years ago

Will be afk for 3 days, going out. Will come back after I return.

yaacovCR commented 3 years ago

That's a lot of __typename.

But looks valid, maybe send that in to dgraph and see what happens. Might make sense to open up bug in graphql-tools for why so much type name and if that works when submitted directly but not when stitching.

Not sure that this is a mesh issue seems either related to tools or dgraph

tvvignesh commented 3 years ago

@yaacovCR I don't think the issue is with Dgraph cause the error occurs only when adding encapsulate config from mesh without changing anything in dgraph and not otherwise which means that the error gets fixed by changing the mesh sdk and not dgraph.

But still, as you said I am curious as to why there are these many __typename in the mutation.

yaacovCR commented 3 years ago

We should be able to prove whether or not is an issue with dgraph by just sending in that mutation. Looks a little weird, but well formed at least to my eye, so I'm a bit not sure why it wouldn't work. If it does actually work then we know it is not an issue with dgraph for sure...

tvvignesh commented 3 years ago

@yaacovCR @ardatan Just came back from a short vacation. Tested what you said by sending the mutation to Dgraph directly. And it throws a validation error like this:

1

I guess it was not logged cause Dgraph cause the validation failed and hence Dgraph did not execute the mutation itself. And I also checked the schema properly. __typename is not coming from Dgraph but from graphql-tools

I did a quick search in the graphql-tools repo to confirm this, and I was able to see many instances of __typename here: https://github.com/ardatan/graphql-tools/search?q=__typename

tvvignesh commented 3 years ago

@yaacovCR @ardatan Ahh.. Wait a sec. Just noticed this: https://discuss.dgraph.io/t/bug-upmost-typename-in-mutation-finds-no-resolver/11989/5

Looks similar and looks like the Dgraph team is addressing this and the issue states the same behavior where it works for queries but not for mutations. What a crazy day ๐Ÿ˜‚

tvvignesh commented 3 years ago

On a sidenote, may I know why __typename occurs so many times? I don't use __typename on my end anyways. So, I guess its added by GQL Tools or Mesh during the mutations. Isn't 1 __typename enough?

I guess, it is good to add some deduplication logic in GQL Mesh or Tools to avoid duplicating the fields if I am not wrong which can cater not just to __typename but other fields in the future as well.

yaacovCR commented 3 years ago

We don't always add __typename but some transforms require it, and if you are using multiple transforms that require it, we don't check whether it exists before adding it again. This is because the graphql server will coalesce these anyway.... See https://github.com/ardatan/graphql-tools/pull/2225

tvvignesh commented 3 years ago

@yaacovCR Thanks for the link. Just had a look. So, I will just go with this then considering https://github.com/graphql/graphql-js/issues/2342 has to be implemented for deduplication.

Wondering why mutation works without encapsulate transform then. I guess that does not add __typename to the mutations (haven't tested that). Anyways, thanks for the reference.

@ardatan You can close this if you think there is nothing to fix/change. Thanks.

ardatan commented 3 years ago

This deduplication can be done on executor level, maybe? @yaacovCR Or that deduplication as in that PR can be an option in subschema level??? So that process is done only if someone specifically needs that. What do you think?

yaacovCR commented 3 years ago

I am wondering if we should just request __typename on every field automatically so that we never have to add or deduplicate....

But I think the most important step forward is to combine as many transforms as we can to do work in parallel so that we do not have to traverse the request/response tree so many times. If we combine transforms in that way, we will add fewer duplicates...

ardatan commented 3 years ago

@yaacovCR Adding __typename by default sounds good actually.

yaacovCR commented 3 years ago

I don't have a good feel for this in production for many reasons but it's a question of the trade-off of asking for extra fields that we don't needversus asking for only what we need but having queries contain a few duplicates which will be removed on the server

tvvignesh commented 3 years ago

Actually having duplicates are fine but it is the number of duplicates which is high here. In the mutation I have shared, the number of __typename is 3x the number of fields which I guess can be avoided in some way.

I don't know its impact on the performance since I have no metrics to measure so far. But I feel that rather than adding duplicates and then using a function to remove it, it is better to prevent adding duplicates if possible (I may be wrong here).

Anyways, feel free to take a call on what is right according to you guys.