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

Undesired JSON encoders/decoders #7

Open
durban opened this issue Sep 11, 2016 · 1 comment
Open

Undesired JSON encoders/decoders #7

durban opened this issue Sep 11, 2016 · 1 comment
Labels

Comments

@durban
Copy link
Owner

durban commented Sep 11, 2016

The definitions in io.sigs.seals.circe.Codec also derive codecs for primitives (actually, all types for which there is an Atom instance). If they are imported as Codec._, these will have a higher priority than circe's built-in codecs. This is almost certainly not good. (See comment at https://github.com/durban/seals/blob/master/circe/src/main/scala/io/sigs/seals/circe/Codecs.scala#L27.)

@durban
Copy link
Owner Author

durban commented Jan 11, 2017

See also shapeless.OrphanDeriver.

@durban durban added the bug label Jan 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant