When called on a Decoder[C]
where C
is a coproduct containing type A
, converts to a Decoder[Option[A]]
.
(enrichedCoproductDecoder: StringAdd).self
(enrichedCoproductDecoder: StringFormat).self
(enrichedCoproductDecoder: ArrowAssoc[EnrichedCoproductDecoder[C]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(enrichedCoproductDecoder: Ensuring[EnrichedCoproductDecoder[C]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Provides methods specific to decoders of Shapeless coproducts.