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

contribute to tofu derevo for more convenient usage of zio-json library(as now circe wins here) #455

Open
kuzkdmy opened this issue Oct 11, 2021 · 1 comment

Comments

@kuzkdmy
Copy link

kuzkdmy commented Oct 11, 2021

There is a need to contribute to tofu derevo
https://github.com/tofu-tf/derevo/tree/master/modules

Right now with circe we can do like this, and this is much more convenient especially for newtype classes where encoder/decoder will never be changed during application lifetime
image
Thanks

@guizmaii
Copy link
Member

@kuzkdmy zio-json provides a @jsonDerive macro to do the exact same thing. See https://zio.dev/zio-json/configuration#jsonderive

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