Closed MedAzizSahli closed 7 months ago
IMO duplicate of https://github.com/nestjs/graphql/issues/721, Multiple GraphQL endpoints with code-first approach not working is a known issue.
Edit: not a duplicate, but leaving this here as possibly relevant issue.
IMO duplicate of nestjs/graphql#721, Multiple GraphQL endpoints with code-first approach not working is a known issue.
Hello I'm using Schema appoach first, also exact same implementation work fine if i use Apollo instead of Mercurius.
Hi, I have the same issue
Is there an existing issue for this?
Current behavior
In order to have multi endpoints ( /user and /system ) using fastify and mercurius. When i define two different GraphQLModule using of course different path i'm facing this error : throw new FST_ERR_DEC_ALREADY_PRESENT(name) ^ FastifyError: The decorator 'graphql' has already been added!
Minimum reproduction code
https://github.com/
Steps to reproduce
graphql.options.ts
graphql.options.two.ts
App.Module
Expected behavior
I want to apply this feature of NestJs link.
Package
Other package
@nestjs/graphql @nestjs/mercurius @nestjs/platform-fastify
NestJS version
10.2.1
Packages versions
Node.js version
20.30.1
In which operating systems have you tested?
Other
No response