nestjs / graphql

GraphQL (TypeScript) module for Nest framework (node.js) 🍷
https://docs.nestjs.com/graphql/quick-start
MIT License
1.46k stars 396 forks source link

TypeError: this.graphQlFactory.mergeWithSchema is not a function #3118

Closed blueMountain007 closed 9 months ago

blueMountain007 commented 9 months ago

Is there an existing issue for this?

Current behavior

image

Minimum reproduction code

https://github.com/nestjs/graphql

Steps to reproduce

The relevant dependency package versions in nestjs project are as follows: { "@nestjs/axios": "0.1.0", "@nestjs/bull": "0.6.2", "@nestjs/cache-manager": "1.0.0", "@nestjs/cli": "9.1.1", "@nestjs/common": "9.3.6", "@nestjs/config": "0.6.3", "@nestjs/core": "9.3.6", "@nestjs/event-emitter": "1.0.0", "@nestjs/graphql": "11.0.0", "@nestjs/jwt": "7.2.0", "@nestjs/microservices": "9.3.6", "@nestjs/mongoose": "10.0.2", "@nestjs/passport": "7.1.5", "@nestjs/platform-express": "9.1.1", "@nestjs/platform-ws": "9.1.1", "@nestjs/schedule": "1.0.1", "@nestjs/swagger": "5.2.1", "@nestjs/terminus": "9.1.1", "@nestjs/throttler": "4.0.0", "@nestjs/typeorm": "7.1.5", "@nestjs/websockets": "9.1.1", ... }

Expected behavior

The error disappears

Package version

11.0.0

Graphql version

graphql: "16.8.1", apollo-server-express: "2.25.1",

NestJS version

9.3.6

Node.js version

18.16.0

In which operating systems have you tested?

Other

No response

kamilmysliwiec commented 9 months ago

Thank you for taking the time to submit your report! From the looks of it, this could be better discussed on our Discord. If you haven't already, please join here and send a new post in the #⁠ 🐈 nestjs-help forum. Make sure to include a link to this issue, so you don't need to write it all again. We have a large community of helpful members, who will assist you in getting this to work.