Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cljs handlers #38

Open
pedroteixeira opened this issue Jun 21, 2017 · 1 comment
Open

cljs handlers #38

pedroteixeira opened this issue Jun 21, 2017 · 1 comment

Comments

@pedroteixeira
Copy link

Hi, are there any handlers example to make the tagged values here work when reading from transit-cljs or transit-clj?

I expected that it would work without any extra configurations.. isn't usefull to have an example of reading immutable-js data to cljs/clj data?

thanks for any help!

@glenjamin
Copy link
Owner

Hrm, I chose different tags for the immutable types so as not to conflict, but it should be possible to match them up with what clojure would produce.

I don't have any time to look into this, but if you get something working then please do post it back here.

If you have a look at the source of this module, and compare the serialised outputs, you'll need to adjust the tags to match - or perhaps configure the default list/map types in transit to use immutable's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants