zio-schema
zio-schema copied to clipboard
Compositional, type-safe schema definitions, which enable auto-derivation of codecs and migrations.
We need defined `Schema` for `zio.schema.Patch` so that we can reliably persist patches.
`Sequence` could always describe a schema of `Chunk[A]` which can be converted to other collection types with `Transform`. I made a quick attempt to do this as part of https://github.com/zio/zio-schema/pull/206...
The compiler does not seem to prove that ```zio.schema.Schema[List[zio.flow.remote.RemoteOpticSpec.Person]]#Accessors[zio.flow.remote.RemoteOptic.Lens,zio.flow.remote.RemoteOptic.Prism,zio.flow.remote.RemoteOptic.Traversal] == RemoteOptic.Traversal[List[Person], Person] ``` Reproducer in `RemoteOpticSpec` in `zio-flow`
Add support for Scala 3. The main issue to solve here is refactoring the macro derivation since Scala 3 macros are quite different from what is available in Scala 2....
The `ZTransducer` for decoding fails when the input chunk doesn't exactly match one encoded object. Almost all rechunked streams will therefore fail. Transducers should be resilient to different chunk sizes...
Current implementation of the Regex matching semantics relies on a hand-written regex matcher logic. The current implementation is using a greedy approach and is failing to match valid regexes. For...
**ISSUE** There is no constructor for `zio.schema.validation.Validation` which can validate a local time in some specified format. **SOLUTION** Using other constructors which already exist in `zio.schema.validation.Validation` (which include regex validation,...
Implement a duration validator based on [ISO 8601 ABNF for “duration”](https://datatracker.ietf.org/doc/html/rfc3339#appendix-A)
**ISSUE** There is no constructor for `zio.schema.validation.Validation` which can validate a date/time in some format. **SOLUTION** Using other constructors which already exist in `zio.schema.validation.Validation` (which include regex validation, string length...