Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note the option mapper #174

Open
d6y opened this issue Feb 7, 2019 · 0 comments
Open

Note the option mapper #174

d6y opened this issue Feb 7, 2019 · 0 comments

Comments

@d6y
Copy link
Contributor

d6y commented Feb 7, 2019

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]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant