Skip to content

Note the option mapper #174

Description

@d6y

In 2.7.5 we discuss option-mapped types, and describe type ascription.

hvesalai noted that the following will also resolve this issue for e.g., custom ADT:

implicit def getOptionMapper2TT[B1, B2 <: Country.Value : BaseTypedType, P2 <: B2, BR] =
      OptionMapper2.plain.asInstanceOf[OptionMapper2[B1, B2, BR, B1, P2, BR]]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions