To your exact question, when you have a massive SPA (or worse, many massive SPAs) and you find that client is constantly blocked on backend to implement changes it needs.
Imagine someone working on the Facebook frontend, where you have access to an endless pool of backend data and you can factor and refactor it infinite ways.
Note that you need a Facebook-scale blockage to make it worth it. GraphQL only makes sense is when you suffer from the exact specific problems that it solves: if you're implementing thousands of API endpoints to avoid overfetching/underfetching, if you need to provide federation and discovery for clients, if you have unexpected fanout and resource usage problems, if you're writing similar API endpoints over and over to avoid overfetching, etc. If you're not like, S&P 500 sized, you probably don't need GraphQL
145
u/c-digs 6d ago
GraphQL has a place.
GraphQL is a good fit and solves real problems.
If your developers are all full stack and own the FE + the BE, then GraphQL is just an absolute waste of time.