I have a pathom client that speaks json and I'd rather not have to get it to speak edn. Does anyone know of a json form of eql that has a straightforward translation to eql?
I'm particularly concerned about representing idents and eql parameters.
I want to create an async version of this parser so it can run under nodejs https://github.com/walkable-server/walkable/blob/3b1c218ef60c90b7a79f968c87e2ee0af46608b3/dev/src/common/walkable/integration_test/helper.clj#L27
it uses planner, btw
what do i have to change beside the dynamic resolver function?
what do you mean by "pathom client that speaks json"?
eg: change p/parser to p/parallel-parser, pc/reader3 to something...
I have a lib called eql-as
that I use for it.
Checkout "RealWorld" example
In the product that I work on, we use to map a REST API, with unqualified keys, both GET and POST's to EQL queries then dispatch it for a parser
that only knows about qualified keys
https://github.com/souenzzo/eql-as
I mean, my client is a typical browser-based javascript application. I want it to make queries that would be resolved by my pathom server-side application
@souenzzo Thanks! The library looks like it will be helpful after I come up with a json syntax for eql. My challenge right now is to come up with that syntax! 🙂
This lib still incomplete. any kind of feedback is welcome 🙂
It looks like pathom does an outer join when the results of two resolvers are joined together. Is there a way to get it to do an inner join instead?