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

Add jsdoc for debug and introspection in GraphQLModule #3142

Closed
1 task done
aarontravass opened this issue Feb 9, 2024 · 5 comments · Fixed by #3150
Closed
1 task done

Add jsdoc for debug and introspection in GraphQLModule #3142

aarontravass opened this issue Feb 9, 2024 · 5 comments · Fixed by #3150

Comments

@aarontravass
Copy link
Contributor

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

No

Describe the solution you'd like

Add jsdoc for the keys debug and introspection

Teachability, documentation, adoption, migration strategy

Auto-completion along with jsDocs can help users understand the use case of each.

What is the motivation / use case for changing the behavior?

Currently, the keys seem to not exist in the interface and hence, autocomplete does not work.

@kamilmysliwiec kamilmysliwiec transferred this issue from nestjs/nest Feb 12, 2024
@kamilmysliwiec
Copy link
Member

Would you like to create a PR for this issue?

@aarontravass
Copy link
Contributor Author

Will do it.

@aarontravass
Copy link
Contributor Author

@kamilmysliwiec I'm getting npm errors

C:\Users\aaron\Documents\projects\nestjs-graphql>npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @nestjs/graphql-workspace@0.0.0
npm ERR! Found: prettier@2.8.8
npm ERR! node_modules/prettier
npm ERR!   dev prettier@"2.8.8" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer prettier@">=3.0.0" from eslint-plugin-prettier@5.1.3
npm ERR! node_modules/eslint-plugin-prettier
npm ERR!   dev eslint-plugin-prettier@"5.1.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\aaron\AppData\Local\npm-cache\_logs\2024-02-12T18_51_19_689Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\aaron\AppData\Local\npm-cache\_logs\2024-02-12T18_51_19_689Z-debug-0.log

Node version: 18.19.0
npm version: 10.2.3

@aarontravass
Copy link
Contributor Author

aarontravass commented Feb 13, 2024

Never mind, looks like I was supposed to use yarn instead of npm. Maybe this can be added in CONTRIBUTING.MD

@kamilmysliwiec
Copy link
Member

Let's track this here #3150

kamilmysliwiec added a commit that referenced this issue Jul 2, 2024
docs(graphql): added jsdoc for debug and introspection. closes #3142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants