durban / seals

Tools for schema evolution and language-integrated schemata
Apache License 2.0
65 stars 7 forks source link

Undesired JSON encoders/decoders #7

Open durban opened 8 years ago

durban commented 8 years ago

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 commented 7 years ago

See also shapeless.OrphanDeriver.