I find it works well for when we need to collect information from several places at once which in our older API required several requests to REST endpoints. Now we have a single request and a much faster response time.
Ask HN: Is GraphQL still relevant?
11–16 of 16 posts
Re: Ask HN: Is GraphQL still relevant?
#12Re: Ask HN: Is GraphQL still relevant?
#13Re: Ask HN: Is GraphQL still relevant?
#14I'm using it at work to develop an API and I'd say that it's been a great experience. I find that it fits well with our use case. I find it works well for when we need to collect information from several places at once which in our older API required several requests to REST endpoints. Now we have a single request and a much faster response time.
What's your use case? Also, how difficult is it to create and maintain the API? I hear nothing but good things about it from the frontend people, but some of the backend people I've asked about it just mutter to themselves about increased complexity then run away. Which also makes me think I need to become friends with backend people who don't mutter to themselves, but one thing at a time.
Re: Ask HN: Is GraphQL still relevant?
#15I'm using it at work to develop an API and I'd say that it's been a great experience. I find that it fits well with our use case. I find it works well for when we need to collect information from several places at once which in our older API required several requests to REST endpoints. Now we have a single request and a much faster response time.
> I find that it fits well with our use case. What's your use case? Also, how difficult is it to create and maintain the API? I hear nothing but good things about it from the frontend people, but some of the backend people I've asked about it just mutter to themselves about increased complexity then run away. Which also makes me think I need to become friends with backend people who don't mutter to themselves, but on…
The stack is GraphQL Yoga and Prisma which simplifies things quite a bit!
Re: Ask HN: Is GraphQL still relevant?
#16We went ahead with JSON RPC
https://www.jsonrpc.org/specification
JSON/RPC is much simpler to implement and consume. You just have to expose server-side functions as endpoints and when it comes to build authentication and Authorization you can build using (Python or Typescript like) Decorator or just a Higher Order Functions which wraps the functions to be exposed to control the input and output in aspected oriented way.