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.has anybody faced something similar? any suggestions?
@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