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
I'm using apollo schema stitching and receive next error:
TypeError: Cannot redefine property: _datadog_operation
at Function.defineProperties (<anonymous>)
at Object.executeWithTrace (/home/node/node_modules/dd-trace/src/plugins/graphql.js:29:14)
at /home/node/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:84:52
at step (/home/node/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:32:23)
at Object.next (/home/node/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:13:53)
at /home/node/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:7:71
at new Promise (<anonymous>)
at __awaiter (/home/node/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:3:12)
at delegateToSchemaImplementation (/home/node/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:57:12)
at Object.delegateToSchema [as default] (/home/node/node_modules/graphql-tools/dist/stitching/delegateToSchema.js:53:12)
I wonder if just adding writable: true to line 29 defineProperties will be enough.
The text was updated successfully, but these errors were encountered:
This means that execute is called multiple times with the same contextValue. To my knowledge this was not possible but maybe schema stitching does that.
I'm not very familiar with schema stitching. Can you share the snippet (or equivalent) resulting in this error?
I'm using apollo schema stitching and receive next error:
I wonder if just adding
writable: true
to line 29defineProperties
will be enough.The text was updated successfully, but these errors were encountered: