Skip to content

Instantly share code, notes, and snippets.

@nwillc
Last active October 13, 2016 14:05
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 nwillc/3d192fd51b128af673ba3ff685639468 to your computer and use it in GitHub Desktop.
Save nwillc/3d192fd51b128af673ba3ff685639468 to your computer and use it in GitHub Desktop.
GraphQLObjectType category = newObject()
.name("category")
.field(newFieldDefinition()
.name("key")
.type(GraphQLString)
.build())
.field(newFieldDefinition()
.name("name")
.type(GraphQLString)
.build())
.build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment