←back to thread

153 points michaelanckaert | 1 comments | | HN request time: 0.303s | source
Show context
pknopf ◴[] No.23489295[source]
I firmly believe GraphQL is a fad. It will never work, exposing the ORM to your clients.

I'm curious, why don't we see more public-facing APIs using gRPC?

replies(2): >>23490498 #>>23497596 #
1. zimpenfish ◴[] No.23497596[source]
Currently working on a public-facing gRPC API and it's much more faffy than a REST API. Browsers don't talk gRPC which means you need to support gRPC-web endpoints. You probably need a gRPC aware proxy too and most of those have their own challenges. Some stuff doesn't like protobufs which means you need JSON transport which means protoc plugins. etc.etc. It's all just more work for (IMHO) little gain.