Skip to content

Re-add support for comment descriptions#230

Merged
cjoudrey merged 2 commits intomasterfrom
revert-remove-comment-descriptions
May 5, 2020
Merged

Re-add support for comment descriptions#230
cjoudrey merged 2 commits intomasterfrom
revert-remove-comment-descriptions

Conversation

@cjoudrey
Copy link
Copy Markdown
Owner

@cjoudrey cjoudrey commented May 5, 2020

re: #229

When bumping graphql-js to v15, I mistakenly interpreted some test failures as graphql-js no longer supporting comment descriptions. This was a mistake. The function graphql-schema-linter relies on in graphql-js was simply moved to a different file.

This PR fixes the original issue and re-adds support for comment descriptions.

While comment descriptions are deprecated in graphql-js, they are only scheduled to be removed from graphql-js in v16 as per: https://github.com/graphql/graphql-js/blob/8ddef3331aa2bbf0293fffb7a72acc292fa44bc3/src/utilities/extendSchema.d.ts#L61-L70.

@cjoudrey cjoudrey merged commit eb2a16a into master May 5, 2020
@cjoudrey cjoudrey deleted the revert-remove-comment-descriptions branch May 5, 2020 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant