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
How to generate document for graphql api ? #4
Comments
Try adding a comment above the type or field you'd like to have a description for. IE: # This is a Post
type Post {
# A unique identifier
id: ID!
} |
@kamilmysliwiec, @iamclaytonray For me it's not working either. And yes, I do have the description set. Just for some reason it gets discarded. Any idea? I believe it comes from the |
@rgolea - Can you shoot over a small repro? I'll test it out locally and get back with you |
@iamclaytonray not sure how. As far as I can gather, the typedefs come from the documents without the comments. Does it work for you? This is my
|
Yep, works for me |
@iamclaytonray is there any way we can talk in private? Gitter? |
Yeah, let me make an account real quick |
This was happening because of the version of graphql. Use 0.11.7. |
I have a same issue my package json:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
With @nestjs/graphql, how to generate document for graphql api ?
There is No Description.
The text was updated successfully, but these errors were encountered: