GraphQL Description in Markdown
Today I learned that GraphQL description allows Markdown syntax (CommonMark). Here’s an example GraphQL schema:
type Query {
"""
The description will be interpreted as **Markdown**. Good to know :)
* Hello
* Hola
* こんにちは
"""
whatever: String
}
Of course, GraphiQL will render the description as Markdown like this:
See Also⌗
Read other posts