rsnext/examples/with-typescript-graphql/test
WeichienHung a2bea9b492
Add mutation example to with-typescript-graphql (#16742)
Fixes  https://github.com/vercel/next.js/issues/16550

Add a graphql mutation operation in this example.
The changes are:
1. Define mutation in schema `type-defs.graphqls`
2. Add mutation to `viewer.graphql ` that compiled to typescript code.
3. Add mutation resolver in `resolvers.ts`
4. [UI] add a input box and button to submit mutation request to change name. 

screenshot of change
![mutation_example](https://user-images.githubusercontent.com/1462027/91797123-5ffc4e00-ec54-11ea-910b-3ddb399b42f0.gif)
2020-11-10 21:10:54 +00:00
..
__snapshots__ Add mutation example to with-typescript-graphql (#16742) 2020-11-10 21:10:54 +00:00
index.test.tsx Update with-typescript-graphql (#16101) 2020-08-29 22:15:50 -04:00