Created
September 22, 2019 10:48
-
-
Save dbayarchyk/4c7ee01838c45dd006e6ffaefc106ac5 to your computer and use it in GitHub Desktop.
Improve your GraphQL schema with the Relay Specification - removePostSchemaWithPayload.gql
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 { | |
removePost(id: ID!): RemovePostPayload! | |
} | |
type RemovePostPayload { | |
removedPost: Post | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment