Hello,
This is surely a noob question, but i’ve been struggling to make a codec for query parameters whose high-level value is NonEmptyList[String]
.
I have an OK handle on making Codec’s for custom types (though mostly i just use circe’s codecs), but making a codec of type Codec[List[String], NonEmptyList[String], TextPlain]
has me confused since it’s a list and not a normal custom type so i cant just use Codec.mapDecode()
…
Feel free to just point me somewhere this has already been explained if it has.
Cheers,
Ben