We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the derive function, I was able to derive instances for zio-json and zio-config on subtypes and newtypes:
derive
object ST extends Subtype[Int] { implicit val desc: zio.config.Descriptor[Type] = derive implicit val codec: zio.json.JsonCodec[Type] = derive } type ST = ST.Type
However, when I import newtypes or subtypes from external projects, I no longer have the ability to derive typeclasses for them
The text was updated successfully, but these errors were encountered:
zio#794: Derivation tools for external newtypes
756721a
c8b7f2a
565ceab
4d35eed
No branches or pull requests
Using the
derive
function, I was able to derive instances for zio-json and zio-config on subtypes and newtypes:However, when I import newtypes or subtypes from external projects, I no longer have the ability to derive typeclasses for them
The text was updated successfully, but these errors were encountered: