Multi-line field descriptions printing newline #4009
Unanswered
tgomesfork
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following this
type-graphql
discussion, sincegraphql-js
v16.0.0, multi-line field descriptions do not seem to be printed correctly.Previously we were able to define them like this:
Now to get the proper printed schema, we need to put the
\n
ourselves on the description:I think something changed on the
printSchema
utility function.Beta Was this translation helpful? Give feedback.
All reactions