Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not really. The usual strategy for persisted query is to only use them in production or adjacent areas. You build your app using regular graphql doing whatever you need, then after you tested things and it all looks good, when you ship, you parse the codebase, store the queries, and ship them.

It doesn't work if you don't have control over the client (eg: exposing to third parties), in which case query complexity limits are easy to implement and do the job, too.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: