News for hackers. Stuff that matters.
Re:Why not use GraphQL? by cs-szazz on Saturday November 07, 2020 @09:43AM (#25015319)
But in this imaginary situation, there's no efficient way to query the database without adding an index, and the suggestion is it's harder to know what your clients will call versus REST because one is statically defined while the other is more freeform.
Re:Why not use GraphQL? by diveanon on Saturday November 07, 2020 @10:05AM (#25015440)
This problem is solved at the db layer. If your data is not queryable in an efficient manner from the DB then it doesn't really matter if you use REST or GQL.