News for hackers. Stuff that matters.
Re:Ask HN: When should I use GraphQL by sandreas on Tuesday May 28, 2024 @01:13PM (#40502980)
As good as REST and GraphQL seemed to me, I personally had much better experiences with RPC - specifically jsonrpc. I did spend a lot of time using protocols like jsonapi[1] and GraphQL in the past, but somehow always came to the conclusion that it is to heavyweight and framework driven.

Nowadays, I'm trying to keep things simple again and use jsonrpc. It's simple, versatile, portable and can even be used via WebSockets or raw socket protocols.

1: https://jsonapi.org/

There are no comments on this comment yet.