Nils Kilden-Pedersen

Results 45 comments of Nils Kilden-Pedersen

Won't this lead to `[,`? ```scala out.writeArrayStart() xs.foreach { case bar: Bar => out.writeComma() barCodec.encodeValue(bar, out) case _ => } ```

Shouldn't this be possible with a config option, where the `decodeValue` method simply ends up `???` (`Nothing`)? I.e. `CodecMakerConfig(discriminatorType: DiscriminatorType)`, replacing `discriminatorFieldName`? ```scala sealed abstract class DiscriminatorType case class Field(name:...

I would much prefer support for just `String` as input/output. Many APIs deal with Strings for JSON, and by only having binary input/output, an extra UTF-8 conversion is required every...

@plokhotnyuk No, I'm not getting an empty hex dump; just didn't want to include it here, but it is printed and is sometimes helpful, but only when I know where...

@plokhotnyuk Possibly, although I cannot remember a case where that would have been the case. Still can't hurt.

Better yet, not sure if possible, it could take the instance itself. I have a use case where I would like to get the name from the instance itself. E.g....

Yeah, I use Chimney. I actually need something like that for computing values. Would that be possible to have something similar?

No, and I can't find anything on the logs either.

I tried both 2.12.10 and 2.12.11, same result.

@krzemin Any thoughts on this?