zio-schema
zio-schema copied to clipboard
Compositional, type-safe schema definitions, which enable auto-derivation of codecs and migrations.
A lot of specs are in the `scala-2` source folders. For example the `JsonCodecSpec`. This prevents them from being executed on for Scala 3. After taking a short look, it...
There is an annotation `recordName` that is currently unused. We should either use it or remove it. ```scala /** * Annotation for specifying an alternate name for a record. *...
fixes #664 /closes #664 /claim #664
Autogenerated changes after running the `sbt docs/generateReadme` command of the [zio-sbt-website](https://zio.dev/zio-sbt) plugin. I will automatically update the README.md file whenever there is new change for README.md, e.g. - After each...
```scala //This works as expected implicit val schemaInt: Schema[GenericType[Int]] = DeriveSchema.gen //Does not resolve T to the actual type when the macro is executed implicit def schema[T: Schema]: Schema[GenericType[T]] =...
We have errors like this in the CI of the PR updating zio-schema (probably a bin-compat issue with the version used in zio-http v3.0.1) ```scala Exception in thread "zio-fiber-4971" java.lang.NoClassDefFoundError:...
The main idea is, that JSON maps (aka dynamic field names and values) keep the same order as in the json. We need this to ensure stable generation of case...
This is a naive approach to tackle https://github.com/zio/zio-schema/issues/511, intended more as a starting point for discussion.
/claim #712 Close #712 I'm still learning Scala and decided to give this issue a shot, and got stuck. I might regularly update my solution till fixed or someone might...