8000 TypeError: (0 , utils_1.promiseReduce)(...).resolve is not a function · Issue #7052 · ardatan/graphql-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TypeError: (0 , utils_1.promiseReduce)(...).resolve is not a function #7052
Open
@inpercima

Description

@inpercima

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

  • 1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox

    Make sure to fork this template and run yarn generate in the terminal.

    Please make sure the GraphQL Tools package versions under package.json matches yours.

  • 2. A failing test has been provided
  • 3. A local solution has been provided
  • 4. A pull request is pending review

Describe the bug

Since updating from graphql-tools/utils version 10.8.1 to 10.8.6, I have noticed the above-mentioned error with mutations.
It turned out that a downgrade to 10.8.2 works. All versions above this throw the error.

stacktrace: Array(11) [ "TypeError: (0 , utils_1.promiseReduce)(...).resolve is not a function", " 
 at executeFieldsSerially (/workspace/application/backend/node_modules/.pnpm/@graphql-tools+executor@1.3.12_graphql@16.10.0/node_modules/@graphql-tools/executor/cjs/execution/execute.js:257:29)", "
 at executeOperation (/workspace/application/backend/node_modules/.pnpm/@graphql-tools+executor@1.3.12_graphql@16.10.0/node_modules/@graphql-tools/executor/cjs/execution/execute.js:231:18)", … ]

So it could be a change in version 10.8.3 causes this error.

Environment:

  • OS: Linux/Ubuntu
"@graphql-tools/delegate": "10.2.14",
"@graphql-tools/stitch": "9.4.19",
"@graphql-tools/utils": "10.8.2",
"@graphql-tools/wrap": "10.0.32",
"graphql": "16.10.0",
  • NodeJS: 22.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0