Skip to content

Instantly share code, notes, and snippets.

@shaungehring
Created February 5, 2020 14:19
Show Gist options
  • 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