This makes it harder than it needs to extend freezing/thawing to custom types. For a lot of custom types, they are just special containers that have a normal clojure data inside, so it would be useful to just be able to pick an object apart, then use something like write-vec in our custom handlers.
Can functions like these be made public?
Apologies if there are other supported ways to do this already that I missed.
I see that the writer-functions from nippy are private. Here is write-vec, for example:
https://github.com/ptaoussanis/nippy/blob/master/src/taoensso/nippy.clj#L471
This makes it harder than it needs to extend freezing/thawing to custom types. For a lot of custom types, they are just special containers that have a normal clojure data inside, so it would be useful to just be able to pick an object apart, then use something like write-vec in our custom handlers.
Can functions like these be made public?
Apologies if there are other supported ways to do this already that I missed.