News for hackers. Stuff that matters.
Re:You Shouldn’t Use GraphQL by fooyc on Friday November 12, 2021 @12:48PM (#29202316)
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.

Re:You Shouldn’t Use GraphQL by jayd16 on Friday November 12, 2021 @12:59PM (#29202439)
You 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.

Re:You Shouldn’t Use GraphQL by ldiracdelta on Sunday November 14, 2021 @10:30AM (#29217754)
If you don't like c.r.u.d., you also might not like variables in programming languages.