zio-schema icon indicating copy to clipboard operation
zio-schema copied to clipboard

Compositional, type-safe schema definitions, which enable auto-derivation of codecs and migrations.

Results 79 zio-schema issues
Sort by recently updated
recently updated
newest added

Current behavior: 1. Create a schema with a validation, then derive a generator for that schema. running that generator produces values that do not meet the schemas validation. 2. Create...

there is a different behaviour when I transduce through a stream or a buffer: implicit val decoder: ZTransducer[Any, String, Byte, JsonRpc[Block]] = JsonCodec.decoder(schemaJrpc) This fails with: "Unexpected end of input"...

bug

Current behavior: Gen instances for a string are automatically set to Gen.anyString Problem: Gen.anyString can produce a character that postgres doesn't like, `\u0000`, which causes tests against a postgres db...

`SourceLocation` is not useful inside Schema definition. It could be replaced with a `TypeTag` instead, that will give the Runtime type information need it,

Downstream libraries sometimes want to offer the ability to tweak the way codecs are generated from case classes, sealed traits, and fields inside case classes. A convenient way to do...

ziohackathon

I added a test for it as part of #389 and it passed, but later it became flaky so probably the test was not deep enough and some other changes...

The simple round-trip test for DynamicValue: Given a value `a: A` and a `schema: Schema[A]` if we convert it to dynamic value and back: ```scala schema.fromDynamic(schema.toDynamic(a))) ``` we get back...

bug
ziohackathon

It is currently `private[schema]` but it should be accessible for third-party codec implementers. (note that it is even inconsistent because for example `SchemaAst` has a public schema)

ziohackathon

**Problem** Currently If one needs to match on `Schema` these are the number of options they need to deal with - ```scala a match { case Schema.Primitive(standardType, annotations) => ???...

ziohackathon

**ISSUE** There is no constructor for `zio.schema.validation.Validation` which can validate a European country phone number. **NOTE**: This is 50 tickets in one. Please signup for one or more of the...

ziohackathon