Closed
Description
Describe the bug
Enabling batch
for GraphQL Handler connection to Directus.io results in the error below.
The integration works disabling batch
.
{
"GraphQLError: Cannot read property 'columns' of undefined",
" at Object.relocatedError (/Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/utils/index.cjs.js:3894:12)",
" at mergeDataAndErrors (/Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/delegate/index.cjs.js:1397:34)",
" at /Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/delegate/index.cjs.js:1425:66",
" at Array.forEach (<anonymous>)",
" at mergeDataAndErrors (/Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/delegate/index.cjs.js:1423:27)",
" at /Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/delegate/index.cjs.js:1425:66",
" at Array.forEach (<anonymous>)",
" at mergeDataAndErrors (/Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/delegate/index.cjs.js:1423:27)",
" at checkResultAndHandleErrors (/Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/delegate/index.cjs.js:1386:38)",
" at CheckResultAndHandleErrors.transformResult (/Users/dustin/Projects/mesh-directus-replication/node_modules/@graphql-tools/delegate/index.cjs.js:1382:16)"
To Reproduce
Steps to reproduce the behavior:
This repo will get you set up: https://github.com/ddcollins/mesh-directus-replication
Just enable batch
for the handler in the config.
The mesh config file also has commented out transforms that each result in an error when enabled.
Environment:
- OS: 10.15.7
"@graphql-mesh/cli": "0.19.2",
"@graphql-mesh/graphql": "^0.13.17",
"@graphql-mesh/json-schema": "^0.10.7",
"@graphql-mesh/transform-encapsulate": "^0.1.27",
"@graphql-mesh/transform-filter-schema": "^0.9.0",
Metadata
Metadata
Assignees
Labels
No labels