Created
January 23, 2020 05:24
-
-
Save jelorivera08/cdef9b47a2cc9c06cf43be305135f62b 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
const { GraphQLObjectType, GraphQLID, GraphQLString } = require('graphql'); | |
const noteType = new GraphQLObjectType({ | |
name: 'Note', | |
fields: { | |
_id: { type: GraphQLID }, | |
content: { type: GraphQLString } | |
} | |
}); | |
module.exports = { noteType }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment