Record can be set but return nil in get
kafaichoi opened this issue · comments
KaFai commented
Great Library! Thx every contributor.
Is setting record not supported yet?
(defn -main
[& args]
(let [tmc (c/text-connection "127.0.0.1:11211")
amy (Person. "amy" "chou" "HK")
_ (c/set tmc "a-key" 300 amy)
val (c/get tmc "a-key")]
val))
; val will be nil.
Michael Klishin commented
You should be able to serialise anything but some things will require a custom transcoder.