We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the snippet from the documentation about custom graphql schema directives: https://docs.nestjs.com/graphql/directives#custom-directives
does not work anymore as @graphql-tools/utils has removed the SchemaDirectiveVisitor
@graphql-tools/utils
SchemaDirectiveVisitor
https://github.com/nestjs/graphql/blob/master/tests/graphql-federation/posts-service/posts/upper.directive.ts
go to the tests and update graphql-tools to the latest version: @graphql-tools/utils": "^8.5.1
@graphql-tools/utils": "^8.5.1
The example on the documentation should work
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
@nestjs/graphql
8.1.2
"@nestjs/common": "^8.1.2", "@nestjs/config": "^1.0.2", "@nestjs/core": "^8.1.2", "@nestjs/graphql": "^9.1.1", "@nestjs/mapped-types": "1.0.0", "@nestjs/microservices": "^8.1.2", "@nestjs/mongoose": "^9.0.1", "@nestjs/platform-fastify": "^8.1.2",
16.0.0
No response
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Current behavior
Using the snippet from the documentation about custom graphql schema directives:
https://docs.nestjs.com/graphql/directives#custom-directives
does not work anymore as
@graphql-tools/utils
has removed theSchemaDirectiveVisitor
Minimum reproduction code
https://github.com/nestjs/graphql/blob/master/tests/graphql-federation/posts-service/posts/upper.directive.ts
Steps to reproduce
go to the tests and update graphql-tools to the latest version:
@graphql-tools/utils": "^8.5.1
Expected behavior
The example on the documentation should work
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
@nestjs/graphql
NestJS version
8.1.2
Packages versions
Node.js version
16.0.0
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: