2 ms·
Trustfall (see sibling comment: https://news.ycombinator.com/item?id=32120007 https://news.ycombinator.com/item?id=32120007 ) is my attempt at what you're descr
by obi1kenobi 4y ago
Trustfall (see sibling comment: https://news.ycombinator.com/item?id=32120007 https://news.ycombinator.com/item?id=32120007 ) is my attempt at what you're describing: GraphQL syntax with custom directives like @recurse / @optional / aggregations / arbitrary filters, executed client-side over whatever remote APIs are available (REST or otherwise).
It's by no means fully polished yet and lacks many features that'd be useful to have, but I'd love your thoughts if you decide to take a peek! It supports Rust, Python, and (extremely soon!) WASM in the browser.
https://github.com/obi1kenobi/trustfall https://github.com/obi1kenobi/trustfall