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?
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.