nestjs / graphql

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

v12.2.0 - Error: Schema must contain uniquely named types but contains multiple types named "DateTime" #3244

Open strongpauly opened 2 months ago

strongpauly commented 2 months ago

Is there an existing issue for this?

Current behavior

Upgrading @nestjs/apollo and @nestjs/graphql from 12.1.0 to 12.2.0 throws the above error on startup. Downgrading fixes the issue

Minimum reproduction code

null

Steps to reproduce

No response

Expected behavior

No error on startup

Package version

12.2.0

Graphql version

graphql: 16.9.0 @apollo/server: 4.10.4

NestJS version

10.3.10

Node.js version

v20.10.0

In which operating systems have you tested?

Other

No response