This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-14
Channels
- # announcements (3)
- # asami (22)
- # babashka (9)
- # beginners (92)
- # calva (7)
- # clj-kondo (8)
- # clojure (61)
- # clojure-australia (3)
- # clojure-boston (1)
- # clojure-dev (3)
- # clojure-europe (24)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-uk (14)
- # clojurescript (5)
- # conjure (12)
- # core-async (44)
- # cryogen (8)
- # crypto (2)
- # cursive (24)
- # data-science (5)
- # events (1)
- # fulcro (10)
- # garden (2)
- # graalvm (19)
- # helix (4)
- # instaparse (13)
- # lsp (13)
- # luminus (1)
- # malli (5)
- # meander (22)
- # off-topic (22)
- # polylith (8)
- # re-frame (69)
- # react (1)
- # reagent (2)
- # releases (2)
- # shadow-cljs (52)
- # sql (7)
- # test-check (3)
- # timbre (2)
- # tools-deps (9)
Hi, i am trying to serialize a row loaded witn next.jdbc
with transit and i am getting the following (i need to serialize the metadata)
Caused by: java.lang.RuntimeException: java.lang.Exception: Not supported: class next.jdbc.result_set$navize_row$fn__25001
at com.cognitect.transit.impl.WriterFactory$1.write(WriterFactory.java:65)
I am guessing because of the nav
that execute!
adds to the protocols.@jmayaalv Is there an option on Transit to ignore metadata?
(I’ve never used Transit)
Transit doesn't serialize metadata as default but in this case I have to do. I think I'll just remove the Nav stuff from it. Thanks a lot
@jmayaalv Each row has quite a bit of metadata for implementing protocols, but mapping over the result set vector and just doing (vary-metadata row (constantly nil))
should work.
Thanks a lot @seancorfield