Re:Why, after 6 years, I'm over GraphQL
by tangkikodo on Friday May 31, 2024 @09:19AM
(#40534783)
We just need a tool to let every REST/rpc endpoint gain the ability of 'resolve' and 'dataloader' from GQL, to provide rich detailed view data to frontend (in just single call)
So that:
1. we enjoy the current tech stack from REST/rpc
2. we gain the ability of quick composition from resolver / dataloader
3. with iteration, we can replace/ refactor endpoint without breaking anything.
for fastapi user, the lib 'pydantic-resolve' can help.
So that: 1. we enjoy the current tech stack from REST/rpc 2. we gain the ability of quick composition from resolver / dataloader 3. with iteration, we can replace/ refactor endpoint without breaking anything.
for fastapi user, the lib 'pydantic-resolve' can help.