Skip to content

Instantly share code, notes, and snippets.

@LazyFatArrow
Last active May 15, 2019 23:53
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/78b71e9fe29816be1b3973d3894baf66 to your computer and use it in GitHub Desktop.
Save LazyFatArrow/78b71e9fe29816be1b3973d3894baf66 to your computer and use it in GitHub Desktop.
type Mutation {
createPoll(poll: CreatePollInput): Poll
voteOnPoll(optionId: ID!): 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