graphql-mesh: Mesh SDK execution fails
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.
- I tried running the raw query directly in the database (Dgraph) and it is valid and works.
- I also tried hardcoding the inputs strings in the query but still get the same error.
- 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
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 37 (27 by maintainers)
@yaacovCR Adding
__typename
by default sounds good actually.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…
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
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