Skip to content

Instantly share code, notes, and snippets.

@kirkness
Last active January 6, 2019 20:00
Show Gist options
  • Save kirkness/92dca34ce8ef4edc5e259573ca211753 to your computer and use it in GitHub Desktop.
Save kirkness/92dca34ce8ef4edc5e259573ca211753 to your computer and use it in GitHub Desktop.
Example authorised schema
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