typegraphql-nestjs icon indicating copy to clipboard operation
typegraphql-nestjs copied to clipboard

Feature: Update @nestjs/graphql major version to 9

Open amokio opened this issue 4 years ago • 4 comments

Hi @MichalLytek,

as graphql-transport-ws is deprecate, can you please help to upgrade the @nestjs/graphql to version 9 ?

reference: https://github.com/nestjs/graphql/blob/30fc9075241bcd33b7d018f4afe9025f24218f1a/lib/interfaces/gql-module-options.interface.ts#L65

bootstrap:

  GraphQLModule.forRoot({
    subscriptions: {
      'graphql-ws': true
    }
  })

amokio avatar Nov 16 '21 05:11 amokio

Do we have workaround for now? I can't install this package with nest 9

TechAlchemistry avatar Dec 29 '21 16:12 TechAlchemistry

I have a WIP on my local branch, will try to publish it this week.

MichalLytek avatar Dec 29 '21 16:12 MichalLytek

I have a WIP on my local branch, will try to publish it this week.

That's really awesome. I want to persuade it work for my new local project and I started it from scratch. I would be grateful for any help, can I somehow launch this using changes in package.json?

TechAlchemistry avatar Dec 29 '21 16:12 TechAlchemistry

OK. I used the --force option and seems like everything works well

TechAlchemistry avatar Dec 29 '21 17:12 TechAlchemistry

Closing in favor of #32 🔒

MichalLytek avatar Jan 11 '23 16:01 MichalLytek