-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Preserve docstrings in SDL of federated services. #2830
Conversation
@@ -332,30 +332,20 @@ function printDescription( | |||
| GraphQLEnumValue | |||
| GraphQLUnionType, | |||
indentation: string = '', | |||
firstInBlock: boolean = true, | |||
_firstInBlock: boolean = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this isn't really needed? Lists with descriptions seem to work out fine, as you can see from the above tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JacksonKearl yeah let's remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JacksonKearl one small nit but otherwise wonderful!
@@ -332,30 +332,20 @@ function printDescription( | |||
| GraphQLEnumValue | |||
| GraphQLUnionType, | |||
indentation: string = '', | |||
firstInBlock: boolean = true, | |||
_firstInBlock: boolean = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JacksonKearl yeah let's remove this
@JacksonKearl Does this work for |
…l/jackson/preserve-federation-descriptions Preserve docstrings in SDL of federated services. Apollo-Orig-Commit-AS: apollographql/apollo-server@f3dcbb3
Fixes #2808.