UNPKG

generator-ptz-graphql

Version:

Yeoman generator to create polutz graphql server.

57 lines (48 loc) 1.01 kB
//Save User mutation($input: SaveUserInput!) { saveUser(input: $input) { userEdge { node { errors, id, userName, email, emailConfirmed, displayName, imgUrl } } } } //Variables { "input": { "userName": "angeloocana", "email": "angeloocana@gmail.com", "displayName": "Ângelo Ocanã", "password": "teste" } } //-------------------------------------------------------------- //Example CreateLinkMutation($input: CreateLinkInput!){ createLink(input: $input){ clientMutationId, linkEdge{ node{ id, title, url } } } } //Variables { "input": { "clientMutationId": "42", "title": "Teste", "url": "linkTeste.com" } } //-----------------------------------------------------------