Skip to content
New issue

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

Ignore require-description for root types #2259

Open
ddiazghub opened this issue Apr 16, 2024 · 0 comments
Open

Ignore require-description for root types #2259

ddiazghub opened this issue Apr 16, 2024 · 0 comments

Comments

@ddiazghub
Copy link

ddiazghub commented Apr 16, 2024

Is your feature request related to a problem? Please describe

@nestjs/graphql does not allow to set descriptions for root types when generating a GraphQL schema with a code-first approach. This makes linting fail when descriptions are required for object types.

Describe the solution you'd like

The possibility to ignore this rule for root types Query, Mutation and Subscription.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant