Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Mutation = new GraphQLObjectType({
- name: 'Mutation',
- fields: {
- addGadget: {
- type: gadgetGraphQLType,
- args: {
- name: { type: GraphQLString },
- release_date: { type: GraphQLString },
- by_company: { type: GraphQLString },
- price: { type: GraphQLString }
- },
- }
- }
- })
Add Comment
Please, Sign In to add comment