Created
November 30, 2018 17:05
-
-
Save goatandsheep/7daa407ed65fbd0e6b4b0d829a0b093a 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
types Mutation { | |
updateChild( childId: ID!, parentId: ID!, firstname: String, lastname: String,): Child | |
} | |
type Subscription { | |
onUpdateChild(parentId: ID!, childId: ID!): Child | |
@aws_subscribe(mutations: ["updateChild"]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment