metabase / toucan

A classy high-level Clojure library for defining application models and retrieving them from a DB
Eclipse Public License 1.0
569 stars 49 forks source link

Support invoking models via apply #2

Closed camsaul closed 7 years ago

camsaul commented 7 years ago

e.g.

(apply User [:first-name "Cam", :last-name "Saul"])

Looks like we need to implement clojure.lang.IFn/applyTo