Descriptions are not generated in the form of comments #8357
-
Beta Was this translation helpful? Give feedback.
Answered by
charlypoly
Sep 20, 2022
Replies: 2 comments 1 reply
-
We got a similar bug report (#8327), I will try to reproduce it and provide a patch. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @nandita1, Fields and scalars comments (called "descriptions" in GraphQL) should use the following syntax: "Link"
scalar URL
type Query {
"Get a user"
user(id: ID!): User!
}
type User {
id: ID!
"a username is unique"
username: String
email: String!
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
charlypoly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nandita1,
Fields and scalars comments (called "descriptions" in GraphQL) should use the following syntax: