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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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)