Last active
January 6, 2019 20:00
-
-
Save kirkness/92dca34ce8ef4edc5e259573ca211753 to your computer and use it in GitHub Desktop.
Example authorised schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Query { | |
getMyData: Data @authenticate | |
somePublicData: String | |
} | |
type Mutation { | |
updateAnItem(id: ID!, name: String!): Item @authenticate | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment