Created
January 28, 2020 05:57
-
-
Save jelorivera08/6f441cc89e88d03ccc2179d5584b59ac to your computer and use it in GitHub Desktop.
This file contains hidden or 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
type Mutation { | |
createNote(content: String): Note | |
deleteNote(_id: ID): ID | |
updateNote(_id: ID, content: String): Note | |
} | |
type Note { | |
_id: ID | |
content: String | |
} | |
type Query { | |
notes: [Note] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment