Guest User

Untitled

a guest
Feb 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. const Mutation = new GraphQLObjectType({
  2. name: 'Mutation',
  3. fields: {
  4. addGadget: {
  5. type: gadgetGraphQLType,
  6. args: {
  7. name: { type: GraphQLString },
  8. release_date: { type: GraphQLString },
  9. by_company: { type: GraphQLString },
  10. price: { type: GraphQLString }
  11. },
  12. }
  13. }
  14. })
Add Comment
Please, Sign In to add comment