Skip to content
Browse files

fix thawing static fns from namespaces not required yet

  • Loading branch information
nathanmarz committed Mar 22, 2020
1 parent 0ab1c0e commit ec4f5948b41d18e4ff12197c3bb898952ef2268f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/com/rpl/nippy_serializable_fn.clj
@@ -193,6 +193,7 @@ during interactive development."
((deserializer-for-fn-class class-name) data-input))

(defn- thaw-static-fn [var-sym]
(require (symbol (namespace var-sym)))
(var-get (resolve var-sym)))

;; these extend-thaw / extend-freeze blocks are what install the custom handlers.

0 comments on commit ec4f594

Please sign in to comment.
You can’t perform that action at this time.