Skip to content

Instantly share code, notes, and snippets.

@LazyFatArrow
Created May 12, 2019 18:20
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 LazyFatArrow/24f4085ed1df52ebecbfc2a8e0f6cca9 to your computer and use it in GitHub Desktop.
Save LazyFatArrow/24f4085ed1df52ebecbfc2a8e0f6cca9 to your computer and use it in GitHub Desktop.
type Mutation {
createPoll(poll: CreatePollInput): Poll
}
input CreatePollInput {
title: String!
description: String!
options: [CreateOptionInput]
}
input CreateOptionInput {
name: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment