News for hackers. Stuff that matters.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by pandeiro on Thursday July 19, 2018 @04:13PM (#17569837)
Right, then you basically lose caching, since the everything's-a-POST requests would go to the wire every time. Not that I haven't considered making that trade-off.
Re:Ask HN: Were you happy moving your API from REST to GraphQL? by invisible on Friday July 20, 2018 @12:33AM (#17572484)
You can use GET if you want (since GraphQL is still just over HTTP). The implementation can largely be up to you (like REST) if you want, but you get loads of things already if you opt into some opinions that libraries have established (e.g. Apollo).

See https://graphql.org/learn/serving-over-http/

Re:Ask HN: Were you happy moving your API from REST to GraphQL? by yencabulator on Friday July 20, 2018 @04:23PM (#17578621)
You can make your queries ride over GET very easily, using just fetch.