You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model resolution now remembers where existing models were defined rather than using root-model-namespace -- this makes it easier to define multiple models in the same namespace or in namespaces that don't follow the root-model-namespace convention (#91, credit @dpsutton)
defmodel now uses Potemkin's defrecord+ to define corresponding record types rather than clojure.core/defrecord. This macro works similarly to vanilla defrecord but does not redefine the class if the body of the defrecord form has not changed since its initial definition. This fixes many annoyances in REPL-based development where reloading a namespace defining a Toucan model would require reloading any namespaces that referred to the resulting class directly, e.g. for class-based dispatch in interfaces, protocols, or multimethods. (#69)