You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throws error when using useGraphQlJit() plugin and request header Accept is not application/graphql-response+json, application/json, multipart/mixed#2967
Result with application/graphql-response+json, application/json, multipart/mixed header
{errors: [{message: 'Variable "$otp" got invalid value "1234"; Expected type Int; Int cannot represent non-integer value: "1234"'}]}
Without:
ERR TypeError: Cannot read properties of undefined (reading 'originalError')
at file:///project/sandbox/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js:22:60
at Array.some (<anonymous>)
at processRegularResult (file:///project/sandbox/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js:22:32)
at processResult (file:///project/sandbox/node_modules/graphql-yoga/esm/process-request.js:31:12)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR TypeError: Cannot read properties of undefined (reading 'originalError')
at file:///project/sandbox/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js:22:60
at Array.some (<anonymous>)
at processRegularResult (file:///project/sandbox/node_modules/graphql-yoga/esm/plugins/result-processor/regular.js:22:32)
at processResult (file:///project/sandbox/node_modules/graphql-yoga/esm/process-request.js:31:12)
at processTicksAndRejections (node:internal/process/task_queues:96:5)