pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
mokr 2021-04-01T15:37:06.130900Z

Hi, I’m very early in my decision process in regards to moving from Luminus/re-frame to Fulcro/Pathom. Currently reading and watching to get an overview. I regards to Pathom, I understand that you can have many resolvers that are able to provide the same key, and that the sequence you list resolvers in acts as a priority. But what happens if a resolver just might be able to provide a given key, but can’t guarantee it? Will Pathom try another resolver to fill in the blanks? The context for my question is log analysis. Analysing a handful of log lines for a given session/scenario might or might not provide some piece of information. Can Pathom capture this scenario? Can you state e.g: ::pc/output [:x :y :z], only get :x :y back and have :z provided from another resolver event after running this resolver that stated that it could provide :z?

wilkerlucio 2021-04-01T15:48:22.131Z

hello 🙂 yes, pathom does backtrack when there are multiple options, so if some path can't fulfill the data, pathom will try another one

mokr 2021-04-01T15:51:09.131300Z

Thanks, that sounds good. “Backtrack” might be the magic word I did not search for when trying to find the answer. 🙂

wilkerlucio 2021-04-01T16:42:02.131700Z

my bad there, this part is not properly documented