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
Problem with this is that we'd like to avoid having biased instances as these types usually do not have a canonical string representation and providing a biased one would lead to rather troublesome conflict scenarios where users need to override our instances to fit their specific encoding.
If one were to actually implement these instances they would need to go into a lower priority trait that companion object would extend.
Hi
Would be cool to have codecs for objects such as
scala.concurrent.Duration
,java.time.LocalDate
,java.time.Instant
.For the
Duration
, I would get inspired bypureconfig
: https://github.com/pureconfig/pureconfig/blob/7d15967d12b3bee0fc7bbd13325ebb787a8a3a31/core/src/main/scala/pureconfig/DurationUtils.scalaThanks
The text was updated successfully, but these errors were encountered: