3 ms·
> Future Puzzles > Looking forward, here are a few things we are currently looking to solve: > Mutations (Writes) I agree that this is a more compelling way
by tyre 11y ago
> Future Puzzles
> Looking forward, here are a few things we are currently looking to solve:
> Mutations (Writes)
I agree that this is a more compelling way to structure GET requests, but REST and GraphQL are not comparable until they are solving the same problem.
Writes are a huge piece of RESTful interfaces (PUT, POST, PATCH, DELETE). I'm happy Facebook is open sourcing their work, but it does a disservice to GraphQL to compare it with REST.
Perhaps the title would have been better as "From REST reads to GraphQL."
- estefan 11y ago> Writes are a huge piece of RESTful interfaces (PUT, POST, PATCH, DELETE) GraphQL handles mutations fine. This guy just hasn't implemented them yet.
- andrewingram 11y agoIndeed. He implemented a read-only system and wrote it up (very well I might add). Since he hasn't used mutations yet, he didn't feel ready to write about them.