Skip to content

Instantly share code, notes, and snippets.

@zegnus
Last active December 24, 2018 15:54
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 zegnus/d50acd5723496fcdc28ca063e2a4332f to your computer and use it in GitHub Desktop.
Save zegnus/d50acd5723496fcdc28ca063e2a4332f to your computer and use it in GitHub Desktop.
BookType = new GraphQLObjectType({
name: 'Book',
fields: () => ({
id: { type: GraphQLString },
name: { type: GraphQLString },
genre: { type: GraphQLString }
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment