Created
February 25, 2020 13:38
-
-
Save pratikagashe/38a7fc6f184b1b14f443d80a3b0ad782 to your computer and use it in GitHub Desktop.
graphql mutation to updateUserById: postgraphile demo
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
import gql from 'graphql-tag' | |
export default gql` | |
mutation updateUserById($id: Int!, $UserPatch: UserPatch!) { | |
updateUserById(input: { id: $id, userPatch: $UserPatch }) { | |
clientMutationId | |
} | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment