News for hackers. Stuff that matters.
Re:Migrating Netflix to GraphQL Safely by satvikpendem on Monday August 14, 2023 @09:44PM (#37129163)
> Actual problems(valdation, (actual)error-handing, cache-invalidation being the big one in the end like usual) are kept for the user as an exercise, like always

As I mentioned elsewhere, Relay solves all of these problems automatically while people try to hack around their homegrown solution with React Query and the like. JSON Schema is tacked on as an afterthought to REST, not built in, so it's necessarily more hacky than REST.

Re:Migrating Netflix to GraphQL Safely by BLanen on Friday August 18, 2023 @03:05PM (#37180540)
Yes, Relay does a good job at many of these problems.

Graphql SHOULD have been Relay.

Graphql without Relay is almost just a syntax.

Re:Migrating Netflix to GraphQL Safely by satvikpendem on Friday August 18, 2023 @03:09PM (#37180600)
True, I will agree with you on that, and I mean, Facebook uses GraphQL just as they intended it with Relay, what are they supposed to do if others just use it as a syntax instead?