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

Improving zio-json support #752

Open
AppleKid7 opened this issue Nov 1, 2024 · 0 comments
Open

Improving zio-json support #752

AppleKid7 opened this issue Nov 1, 2024 · 0 comments

Comments

@AppleKid7
Copy link
Contributor

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]?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant