At some point when doing exploratory design, I played with entities. However they are too powerful, too dynamic: once they are passed to clojure code you can't know what they are going to be used for (and no, wrapping and tracking is not an option).
However the appeal was just to be able to write (:item/title item) in the template, not being forced to destructure upfront.
Hence the following idea: make (:attr eid) work in templates (and all variants).
At some point when doing exploratory design, I played with entities. However they are too powerful, too dynamic: once they are passed to clojure code you can't know what they are going to be used for (and no, wrapping and tracking is not an option).
However the appeal was just to be able to write
(:item/title item)
in the template, not being forced to destructure upfront.Hence the following idea: make
(:attr eid)
work in templates (and all variants).