4 ms·
REST models everything as data transfers, or as creating/reading/updating/deleting resources. This alone makes it a bad choice unless you are building a busine
by fooyc 5y ago
REST models everything as data transfers, or as creating/reading/updating/deleting resources.
This alone makes it a bad choice unless you are building a business-agnostic document store.
GraphQL on the other hand has mutations, which if designed properly can convey all of your business's semantics.
- jayd16 5y agoYou can model almost(?) everything with CRUD on nouns instead of verbs. Its just not that hard once you get the hang of it and it often makes things easier to reason about when it comes to state storage.
- ldiracdelta 5y agoIf you don't like c.r.u.d., you also might not like variables in programming languages.