Skip to content

Instantly share code, notes, and snippets.

@dbayarchyk
Created September 22, 2019 10:48
Show Gist options
  • Save dbayarchyk/4c7ee01838c45dd006e6ffaefc106ac5 to your computer and use it in GitHub Desktop.
Save dbayarchyk/4c7ee01838c45dd006e6ffaefc106ac5 to your computer and use it in GitHub Desktop.
Improve your GraphQL schema with the Relay Specification - removePostSchemaWithPayload.gql
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