Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created August 26, 2017 20:21
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 matthieu-D/8352f7df8cf2859040d5f8ca1375b349 to your computer and use it in GitHub Desktop.
Save matthieu-D/8352f7df8cf2859040d5f8ca1375b349 to your computer and use it in GitHub Desktop.
var UserType = new GraphQLObjectType({
name: 'user',
fields: function () {
return {
id: {
type: GraphQLFloat
},
name: {
type: GraphQLString
}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment