Skip to content
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

Docs should specify # as comment symbol for GraphQL #609

Merged
merged 1 commit into from May 21, 2024

Conversation

BCJdevelopment
Copy link
Contributor

Currently the graphprotocol docs specify double quotations "" for comments in GraphQL.

According to the GraphQL spec, '#' are used for comments, not double quotes. See the GraphQL spec on comments here:

https://spec.graphql.org/October2021/#sec-Comments

…ifies double quotations`""`

According to the GraphQL spec, '#' are used for comments, not double quotes. See the spec on comments here:

https://spec.graphql.org/October2021/#sec-Comments
@BCJdevelopment BCJdevelopment requested a review from a team as a code owner February 22, 2024 23:25
Copy link
Member

@saihaj saihaj left a comment

Choose a reason for hiding this comment

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

personally I would showcase block strings for more explanations but agreed that # should be used for comments as per spec terminology

@azf20 azf20 merged commit 6dee7b1 into graphprotocol:main May 21, 2024
2 of 3 checks passed
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.

None yet

3 participants