(defentity thought
(transform #(assoc % :tag-list (clojure.string/split (% :thought_tags) #"\s")))
(database db))
(select thought) ; runs the transform as expected.
(select "thought") ; does not run the transform.
I understand why, but think the correct behaviour would be to check if any entities called "thought" exists and use this if it does, instead of just bypassing the defined entities alltogether.
I understand why, but think the correct behaviour would be to check if any entities called "thought" exists and use this if it does, instead of just bypassing the defined entities alltogether.