Last active
January 19, 2017 16:55
-
-
Save Cal30/5e417b70fd8a74b33bc7e00771832a14 to your computer and use it in GitHub Desktop.
GraphQL Post FilmType
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return newObject() | |
.name("Film") | |
.description("Film - Represents an SW film") | |
.field(newFieldDefinition() | |
.name("director") | |
.description("Director of the film") | |
.type(Scalars.GraphQLString) | |
.build()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment