Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It can't fall out of favor if it was never really in favor to begin with. GraphQL was a quite brief hype then a big technical debt.


Interesting take considering graphql adoption is growing and generally in favor at my company.


So if not graphql, then what's the latest "in-favor" thinking to solve the problem of underfetching and overfetching? Especially in an environment with multiple kinds of frontends?


What do you mean by technical debt here?


Everywhere I worked with GraphQL it was always a pain for the backend team to keep the graphql server updated and also a pain to use in the frontend, simple REST apis or JSON-RPC are much better.


Interesting. Why did you not have these pains with other tech? Team unfamiliar with GraphQL?


> Why did you not have these pains with other tech?

You don't need a new layer between database -> backend -> frontend

So GraphQL became a backend-for-frontend layer that needs maintaince. The team knowing GraphQL or not is not what causes this, but definitely makes it worse as they use the tool, which is quite complex, wrongly.

NextJS is the "evolution" (or more like growth? as a tumor) of this backend-for-frontend approach, glued with the mentioned RSC in this post. Great recipe to fight accidental complexity all days and nights.


So because they were not generating resolvers from the schema, a maintenance burden was created. You CAN create resolvers manually but that’s really not the best idea when automated approaches exist. That’s poor engineering, not bad technology.

GraphQL federation is where the thing really shines.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: