Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // An example mutation using react & gql
- import gql from 'graphql-tag'
- export default gql`
- mutation CREATE_CLIENT($name: String!) {
- createClient(name: $name) {
- client {
- id
- }
- errors {
- type
- message
- }
- }
- }
- `
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement