Last active
September 5, 2017 15:08
-
-
Save matthieu-D/635baa232421138ad62a474e09d2bd7c to your computer and use it in GitHub Desktop.
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
var MutationType = new GraphQLObjectType({ | |
name: 'Mutation', | |
fields: { | |
create: MutationCreate, | |
update: MutationUpdate, | |
deleteUser: MutationDelete | |
} | |
}); | |
exports.userSchema = new GraphQLSchema({ | |
query: queryType, | |
mutation: MutationType | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment