pathom

:pathom: https://github.com/wilkerlucio/pathom/ & https://pathom3.wsscode.com & https://roamresearch.com/#/app/wsscode
markaddleman 2021-06-02T18:26:00.034Z

:b attribute is unreachable but I think it should work

wilkerlucio 2021-06-02T18:28:30.034300Z

The problem here is that you trying to override the value of :doc, Pathom doesn't do that

markaddleman 2021-06-02T18:28:56.034500Z

ah, I see. That would explain some other wierdness

wilkerlucio 2021-06-02T18:29:56.034700Z

Pathom can go down and further process an entity, but from the parent level you can only set the value for that property once

👍 1
wilkerlucio 2021-06-02T18:51:44.035Z

one thing to help thinking though this, when processing the attributes for an entity, the entity starts with the initial available data, and merges new data as it calls resolvers, during merge, it will never override a value that's already there, once a value is set on a entity, that value will never be replaced (or merged, since Pathom sees the value in the entity, pathom considers it done at that level)

markaddleman 2021-06-02T18:56:49.035200Z

^^ This is the key

markaddleman 2021-06-02T18:56:52.035400Z

Thaanks!

🙏 1