zio-json is unable to derive an encoder (using DeriveJsonEncoder.gen) for a case class with the @newtype annotation.
I'd rather not write even simple custom encoders for the hundreds of such classes we have. Is there any way, perhaps with some implicit conversion (which can be done with circe), to allow use of automatic derivation?