Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const UserType = new GraphQLObjectType({
- name: 'User',
- fields: () => ({
- userId: { type: GraphQLString },
- name: { type: GraphQLString },
- age: { type: GraphQLString },
- email: { type: GraphQLString },
- address: { type: GraphQLString },
- company: { type: GraphQLString }
- })
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement