Last active
January 28, 2020 17:14
-
-
Save philipjfulcher/44a99755544838c1b25dbbf8a343b9f2 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
# apps/api/src/app/schema.graphql | |
type Set { | |
id: Int! | |
name: String | |
year: Int | |
numParts: Int | |
} | |
type Query { | |
allSets: [Set] | |
} | |
type Mutation { | |
addSet(name: String, year: String, numParts: Int): Set | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment