Fork me on GitHub
#yada
<
2019-02-06
>
frozenlock15:02:30

Is it possible that Yada doesn't support metadata with transit?

frozenlock15:02:28

Browsing the source I don't see {:transform t/write-meta} like in the transit tests. https://github.com/cognitect/transit-clj/blob/master/test/transit/test_with_meta.clj

malcolmsparks16:02:15

It's possible. The transit code was contributed quite a long time ago. I didn't actually know of the metadata feature. Feel free to fork the extension.

frozenlock16:02:53

Thanks, I'll give it a look.

frozenlock19:02:34

Yup, tested and it works by adding {:transform transit/write-meta}. 🙂

👍 5
frozenlock19:02:26

Really? Isn't it a breaking behavior?

dominicm20:02:06

why is it breaking? :thinking_face:

frozenlock20:02:44

Currently the metadata is stripped. With this change the server automatically sends the metadata, even if it's a huge map.

dominicm20:02:24

old programs will continue to work though I suppose.

5