4 ms·
We are currently settling for something in between: EQL (using Pathom resolvers) This gives front-end devs the flexibility of GraphQL, composability for free (
by beders 6y ago
We are currently settling for something in between: EQL (using Pathom resolvers)
This gives front-end devs the flexibility of GraphQL, composability for free (EQL's DSL is just a data-structure you can manipulate easilty) and is database agnostic.
In fact, Pathom makes it easy to link different datasources and make them available in a uniform way to the front-end devs.
All the while, resolvers (running on the backend) keep control and prevent malicious clients from doing harm.
Same issues you would have with GraphQL though: N+1 queries need special consideration when writing resolvers.