-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mutation examples #9
Comments
Yes absolutely. This is definitely missing and we'll add these in this week. |
@joshprice thank you. While I got the general idea from looking at the code itself and examples for other languages, I think it would benefit anyone who explores the GraphQL through this example repo to be able to see the examples for mutations, clone them to their machine and play around to see how do they work. |
It's definitely our top priority, thanks for the bug report. 🙏 |
Is there an update on the progress of these code examples? |
Has anybody come across any mutation examples in external repos? |
@0x6e6562 there are some examples in repos from official GraphQL Github organization.
|
The |
Also, here is the post on Medium about mutations: https://medium.com/@tarkus/validation-and-user-errors-in-graphql-mutations-39ca79cd00bf |
The docs from Quote (empathis mine):
So, there are 1) regular GraphQL mutations, which are queries that have side-effects like modifying the database and 2) Relay mutations that are somehow stricter in terms of API. |
I'm also wondering how to handle file uploads. Sending file using relay Seeing no info here in regards to |
It would be nice to have some examples of changing data through graphql mutations.
The text was updated successfully, but these errors were encountered: