enisdenjo / graphql-yoga-nestjs

Nest GraphQL GraphQL Yoga driver
https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-nestjs
25 stars 11 forks source link

DI of GraphQLFederationFactory in YogaFederationDriver not work #48

Closed SirReiva closed 1 year ago

SirReiva commented 1 year ago

if @nest/graphl and @graphql-yoga/nestjs versions missmatch(patch version) Nestjs DI of GraphQLFederationFactory in YogaFederationDriver not found di token.

49 fix that

productdevbook commented 1 year ago

same problem

shoaibsharif commented 1 year ago

any ETA to fix this issue?

ardatan commented 1 year ago

PRs are welcome to fix the issue. @shoaibsharif

shoaibsharif commented 1 year ago

@ardatan #49 seems a fix?

enisdenjo commented 1 year ago

Quick heads up, this has been fixed with #54. Please update to at least @graphql-yoga/nestjs@v0.3.0 and additionally install @nestjs/graphql since it's now a peer dependency.