Closed expez closed 8 years ago
I'm on redis 3.0.6 and on carmine version 2.12.2.
(def listener (car/with-new-pubsub-listener redis {"*" println} (car/psubscribe "*"))) ;;=> [psubscribe * 1] ;;=> #<Var@1344891d: {...}> (car/publish redis "chn" :keyword) ;;=> [pmessage * chn keyword] ;;=> 1 (car/wcar redis (car/publish "chn" {:keyword 1})) ;;=> [pmessage * chn {:keyword 1}] ;;=> 1
Is this a bug, or do keywords only work when they're part of some data structure like the map above?
Hi there, please see https://github.com/ptaoussanis/carmine#serialization
Thanks. I misread the docs to mean that keywords were (de)serialized transparently for v2+.
No problem, good luck!
I'm on redis 3.0.6 and on carmine version 2.12.2.
Is this a bug, or do keywords only work when they're part of some data structure like the map above?