pathom3
placeholders can replace values inside "entity"
(p.eql/process {} `[{(:>/a {:a 1})
[:a
{(:>/a {:a 2})
[:a]}]}])
=> {:>/a {:a 1, :>/a {:a 2}}}
This is a explicit behavior?yup, and there are examples mentioning this specific behavior
from docs:
(p.eql/process env
[{'(:>/bret {::first-name "Bret" ::last-name "Victor"})
[::full-name
{'(:>/bard {::first-name "Bard"})
[::full-name]}]}])
; {:>/bret
; {:com.wsscode.pathom3.docs.placeholder/full-name "Bret Victor",
; :>/bard
; {:com.wsscode.pathom3.docs.placeholder/full-name "Bard Victor"}}}