Returns a DecodeEntity instance for a given type.
Returns a DecodeEntity instance for a given type.
Creates a Decode from shapeless.Generic.
Creates a Decode from shapeless.Generic.
Note: This is mostly a workaround for Endpoint[String].as[CaseClassOfASingleString]
,
because by some reason, compiler doesn't pick ValueEndpointOps
for
Endpoint[String]
.
Creates an DecodeEntity instance from a given function String => Try[A]
.