pathom

Jakub Holý (HolyJak) 2023-10-14T13:30:11.898459Z

Hello again! Fulcro’s datomic plugin looks at Pathom 2's com.wsscode.pathom.core/parent-query to figure out what is the minimal amount of attributes to pull (though I have read now that https://clojurians.slack.com/archives/C87NB2CFN/p1612136001112100?thread_ts=1612088684.111800&cid=C87NB2CFN). What I wonder is, whether we can do something similar for Pathom 3. Is it even possible? Thank you!

tony.kay 2023-10-22T20:10:34.502339Z

Yes, perhaps we should add a ns for p3 in the rad datomic plugin to leverage that instead @holyjak

Jakub Holý (HolyJak) 2023-10-23T15:38:50.553869Z

I was thinking about that, just need to find the time 😅 Other than that, the biggest challenge is understanding what the RAD plugin does that is still x no more necessary with dyn resolvers...

wilkerlucio 2023-10-14T18:37:31.165799Z

hi Jakub! something similar in Pathom 3 lines at: :com.wsscode.pathom3.connect.planner/graph -> :com.wsscode.pathom3.connect.planner/source-ast

wilkerlucio 2023-10-14T18:37:40.445289Z

but in Pathom 3, the better way to handle this is via dynamic resolvers

wilkerlucio 2023-10-14T18:38:01.429809Z

which is how the pathom3-datomic is implemented: https://github.com/wilkerlucio/pathom3-datomic

Jakub Holý (HolyJak) 2023-10-14T23:21:32.948549Z

Thank you! I will have a look 👀