Fork me on GitHub
#pathom
<
2021-06-02
>
markaddleman18:06:00

:b attribute is unreachable but I think it should work

wilkerlucio18:06:30

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

markaddleman18:06:56

ah, I see. That would explain some other wierdness

wilkerlucio18:06:56

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

👍 2
wilkerlucio18:06:44

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)

markaddleman18:06:49

^^ This is the key

markaddleman18:06:52

Thaanks!

🙏 2