Show HN: LazyQL: Only compute the GraphQL fields requested (TypeScript)
https://github.com/matutetandil/lazyql
Hey HN, I built LazyQL, a small TypeScript library, because I was tired of GraphQL resolvers doing unnecessary work.The problem: In a typical GraphQL API, your resolver computes all fields for an object, even if the client only asked for 2 out of 15. This means unnecessary database calls, API requests, and CPU time — all thrown away.The solution: LazyQL uses JavaScript Proxy to intercept field...