Created
March 24, 2021 04:24
-
-
Save elVengador/73c4a34b8c78488a239e1cb6d76b58d6 to your computer and use it in GitHub Desktop.
test description
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
createUser(firstName:string,lastName:string,age:number){ | |
console.log('create service') | |
return this.apollo.mutate<any>({ | |
mutation:createUsers, | |
variables:{firstName,lastName,age} | |
}).pipe( | |
map(resp => resp.data) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment