You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue with Circe's deriveConfiguredEncoder in a Scala 2.13 project, where the derived encoder does not respect the custom discriminator configuration under certain conditions. Despite configuring Circe to use a custom discriminator ("type") via Configuration.default.withDiscriminator("type"), the derived encoders for sealed trait implementations do not include this discriminator in the output JSON.
I am encountering an issue with Circe's
deriveConfiguredEncoder
in a Scala 2.13 project, where the derived encoder does not respect the custom discriminator configuration under certain conditions. Despite configuring Circe to use a custom discriminator ("type") viaConfiguration.default.withDiscriminator("type")
, the derived encoders for sealed trait implementations do not include this discriminator in the output JSON.scatie: https://scastie.scala-lang.org/MdeMaxnsRPOj6F56wCioWA
The text was updated successfully, but these errors were encountered: