Easily parse data from Hasura actions and events:
To install:
$ npm i @snotra/hasura-parser
Add cache to your query objects by using a simple directive:
type Book @snotra_cache(ttl: 50) { title: String @snotra_cache(ttl: 10) author: Author }
With the directive you can:
I presented the solution outline at GraphQL Summit 2019.
Unfortunately I never successfully decoupled it to open source it.
Now I restarted development with the latest GraphQL specs in mind.
Stay tuned!