Fork me on GitHub
#pathom
<
2019-01-31
>
ecaspary22:01:51

Opening I find Pathom to be quite fascinating; thanks for creating it and making it freely available! I’ve been writing resolvers for some internal services at work and am quite pleased with the results. Questions I’m have some questions regarding recursive pull queries: are they supported? eg.

;                                                 v
 (d/pull db '[:node/id :node/mass {:node/neighbors 2}] ent-id)
It seems like Pathom provides all the tools to handle a query like the one above. Is that accurate? If I wanted to support bounded recursion, what must I do as the author of a resolver? Or should I be writing a custom reader? Distilled Example Context App domain is inherently graph-like. We prototyped in Datascript. Pull + bounded recursion provided a natural way to explore limited regions of this graph. To learn Pathom, I’m trying to recreate this graph API experience on the production system (where we aren’t using datascript / datomic). Closing Thanks for reading; thanks for Pathom.

hmaurer22:01:04

I can’t answer your question but props on structuring it so well 😄

☝️ 10