Closed sergeda closed 6 months ago
You don't need to use DeriveJsonCodec.gen
. It is already automatically derived as long as you have io.github.iltotore.iron.zioJson.given
imported.
@sergeda do you still have trouble getting a JsonCodec
for your opaque type?
Closing due to inactivity. Feel free to open a new issue or discussion if you still encounter this problem or have another issue.
Is your feature request related to a problem? Please describe. This code fails during compilation
Error:
Describe the solution you'd like It would be great to be able to generate codecs for opaque types
Describe alternatives you've considered For now I'll create instances manually