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
In the above code the strict decoder is establishing the fields it expects in a JSON object (to check no extra unexpected fields are present).
If a discriminator is specified e.g. "type", then we should be expecting a "type" field in the JSON, there is no need to pass it through the constructorNameTransformer function
The text was updated successfully, but these errors were encountered:
jatcwang
added a commit
to jatcwang/circe-generic-extras
that referenced
this issue
Mar 21, 2022
circe-generic-extras/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ConfiguredDecoder.scala
Line 107 in 72f1ad1
In the above code the strict decoder is establishing the fields it expects in a JSON object (to check no extra unexpected fields are present).
If a discriminator is specified e.g.
"type"
, then we should be expecting a"type"
field in the JSON, there is no need to pass it through theconstructorNameTransformer
functionThe text was updated successfully, but these errors were encountered: