Skip to content

Instantly share code, notes, and snippets.

@shaungehring
Created February 5, 2020 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaungehring/fc7c48049f6d651cd6aa56cedf880ca6 to your computer and use it in GitHub Desktop.
Save shaungehring/fc7c48049f6d651cd6aa56cedf880ca6 to your computer and use it in GitHub Desktop.
type Query {
users(id: ID, first_name: String, last_name: String): [User]
}
"""
User
The `User` type
"""
type User @key(fields: "id"){
id: ID!
first_name: String!
last_name: String!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment