Open bennythomps opened 7 years ago
What's your defentity
look like for account
?
Here it is @enragedginger
(defn fix-email-case [{email :email :as acct}]
(if email
(assoc acct :email (str/lower-case email))))
(k/defentity account
(k/entity-fields :id :email :name :password)
(k/prepare fix-email-case)
(k/transform fix-email-case)
(k/has-many token)
(k/many-to-many kid :permission))
I have this
which results in
What am I doing wrong?