Daniel Vigovszky

Results 135 comments of Daniel Vigovszky

I think we should add these to `Body` constructors: ```scala def json[T: Schema](body: T): Body def json[T: zio.json.JsonEncoder](body: T): Body ``` parsers: ```scala def asJson[T: Schema]: Either[String, T] def asJson[T:...

Hi @changzhiwin, do you have a reproducer for this?

I'm not sure we should support header names starting with `:`, according to https://www.rfc-editor.org/rfc/rfc9110.html#name-tokens that's an invalid header name (header name is a token) The exception should be catchable with...

`@transientCase` would also be useful to ignore some cases of a sum type completely (that are known to be never serialized)

In some cases it could make sense to not try to derive schema for them, so you can have some constructors with types not supported by zio-schema (like holding some...

`@GQLInputName` is supposed to be supported but I see there are no tests for it currently. Do you have a specific example where it does not work? Or is it...

Thanks for reporting this, I will take a look. Using the provided default values may be tricky, have to check if it is possible both in Scala 2 and Scala...

Depends on https://github.com/zio/zio-schema/issues/395