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

Create custom encoder for Schema #105

Open
spenes opened this issue Sep 16, 2021 · 1 comment
Open

Create custom encoder for Schema #105

spenes opened this issue Sep 16, 2021 · 1 comment

Comments

@spenes
Copy link
Contributor

spenes commented Sep 16, 2021

Schema has derived encoder. Since all its fields are Option, most of the fields are being null when its converted to Json. Best way is to write custom encoder for it.

@chuwy
Copy link
Contributor

chuwy commented Sep 17, 2021

I think we just need to use dropNullValues somewhere in existing encoders circe/circe#585 (comment)

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