Fork me on GitHub
#pathom
<
2020-02-24
>
roklenarcic09:02:20

what’s the best way to debug why parser returns not found?

roklenarcic13:02:42

I am trying to bridge two apis in connect, with this being the bridge: given a :country/id you can get to :eb.?????? attributes via such a query:

{'(:eb/countries {:where {:alpha2Code {:eq "GB"}}
                                 :limit 1}) [:eb.??????]}
This query generates the correct graphql call and parse and I’d like to link it to the country attributes. This seems like I need to craft some sort of custom resolver that recursively calls parser with a “fixed” AST. What’s the best practice on something like this?