Skip to content

Instantly share code, notes, and snippets.

@rohan-varma
Created September 3, 2016 11:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohan-varma/74d0aa483d6cf24fa432070daae10de3 to your computer and use it in GitHub Desktop.
Save rohan-varma/74d0aa483d6cf24fa432070daae10de3 to your computer and use it in GitHub Desktop.
const pokemonType = new GraphQLObjectType({
name: 'pokemon',
fields: () => ({
id: {type: GraphQLString},
name: {type: GraphQLString},
thumbnail: {type: GraphQLString}
}),
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment