pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
markaddleman 2021-01-02T19:07:13.075200Z

In pathom3, is it possible to have two resolvers with different inputs that yield the same output keys? It appears that the first resolver in the register vector is the one that wins

wilkerlucio 2021-01-02T20:08:24.076500Z

it is possible, but there is not prioritization algorithm yet, so it tries them in order, if the first fails it tries the next one

markaddleman 2021-01-02T20:43:21.076700Z

first one failing means it returns nil?

souenzzo 2021-01-02T21:22:44.076900Z

afik, both exception or nil will be considered "fail".

👍 1
markaddleman 2021-01-02T21:49:13.077300Z

thx