There currently exists an initial effort for zio-json support on zio-schema:
https://github.com/zio/zio-schema/blob/main/zio-schema-json/shared/src/main/scala/zio/schema/codec/package.scala#L13
However, when working with pattern-matching and derivers, this type gets matched with something more akin to Transform(Dynamic(Chunk())) rather than Schema[Json]. Would it be possible to enforce the type being matched with Schema[Json]?
There currently exists an initial effort for zio-json support on zio-schema:
https://github.com/zio/zio-schema/blob/main/zio-schema-json/shared/src/main/scala/zio/schema/codec/package.scala#L13
However, when working with pattern-matching and derivers, this type gets matched with something more akin to
Transform(Dynamic(Chunk()))rather thanSchema[Json]. Would it be possible to enforce the type being matched withSchema[Json]?