graphql-spec icon indicating copy to clipboard operation
graphql-spec copied to clipboard

Change example for directive order to use Query or Mutation, not type system

Open rivantsov opened this issue 3 years ago • 1 comments

Directives Order Is Significant sub-section is in section "2. Language", which talks about Query language. The directive order example surprisingly uses a type definition, while type system and its SDL had not been introduced yet, they are coming in chapter 3.

Suggest to change it to Query or Mutation example with multiple directives. I could not come up with decent example, just put a comment there, suggestions are welcome.

Note: even if we change chapters order (SDL first, Query language after), it is still better to have an example matching the area that is chapter's focus

rivantsov avatar Aug 03 '22 20:08 rivantsov

Deploy Preview for graphql-spec-draft ready!

Name Link
Latest commit 0f1155f36330c9942014e6635c51ae8838a3b438
Latest deploy log https://app.netlify.com/sites/graphql-spec-draft/deploys/62eae04d9b7dd40008290d10
Deploy Preview https://deploy-preview-986--graphql-spec-draft.netlify.app/draft
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Aug 03 '22 20:08 netlify[bot]