Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aldeed
Copy link
Contributor

@aldeed aldeed commented Sep 12, 2019

Impact: minor
Type: docs

Changes

In preparation for being able to generate static GraphQL API documentation, we need to ensure that all GraphQL field arguments have descriptions. This adds a GraphQL linter rule that checks for argument descriptions, and adds all missing descriptions so that the new linter rule passes.

Breaking changes

None

Testing

Verify the app starts and works, and that you can see a description for any field argument when browsing schema docs on http://localhost:3000/graphql-beta

@aldeed aldeed self-assigned this Sep 12, 2019
Copy link
Contributor

@von-steinkirch von-steinkirch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked that descriptions are successfully shown in http://localhost:3000/graphql-beta

🛳-it!

@von-steinkirch von-steinkirch merged commit 8099a41 into develop Sep 12, 2019
@von-steinkirch von-steinkirch deleted the docs-aldeed-gql-arg-descriptions branch September 12, 2019 21:24
@kieckhafer kieckhafer mentioned this pull request Sep 18, 2019
@kieckhafer kieckhafer mentioned this pull request Sep 25, 2019
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.

3 participants