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
-
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