KS
Size: a a a
KS
Oℕ
sealed trait MyEnum extends EnumEntryОно ругается на
object MyEnum {
...
implicit val myEnumHttpParam = HttpParam.generate[MyEnum]
}
case class Req(`type`: Option[MyEnum])
object Req {
implicit val httpParam = HttpParam.generate[Req]
}
magnolia: could not find HttpParam.Typeclass for type Option[MyEnum] in parameter 'type' of product type Req
w
Oℕ
KS
KS
KS
trait Enum[E <: enumeratum.EnumEntry]
но идейка не нашла использованийOℕ
KS
Oℕ
Oℕ
KS
Oℕ