
洪 民憙 (Hong Minhee)
@hongminhee@hollo.social

洪 民憙 (Hong Minhee)
@hongminhee@hollo.social
@twilliability @thisismissem That's a fair point about implementation complexity! GraphQL backends can indeed get complex, especially with deeply nested queries.
Regarding REST standardization—it's actually a great question. We could certainly create a more standardized REST API with OpenAPI/Swagger specs for code generation and type safety. This would be simpler to implement on the server side and still provide many benefits.
The reason I'm drawn to GraphQL + Relay is the client-side developer experience, particularly:
- Declarative data fetching—components specify exactly what data they need
- Automatic request batching and deduplication
- Optimistic UI updates and client-side cache management
- Built-in pagination handling with cursor-based connections
These features dramatically reduce client-side boilerplate and edge cases when building complex social UIs.
I think the real question is whether the implementation complexity is worth the developer experience gains. For large-scale applications with many different views of the same data, I believe it often is. But for smaller instances or simpler clients, maybe not.
I'm actually not wedded to GraphQL specifically—I'm more interested in finding a standardized client API that's both ergonomic and has good tooling support. What do you think would be the most pragmatic approach?