Giulio Canti
Giulio Canti
It doesn't work either, or at least not in my setup. Does it work for you? ```ts class SchemaClass extends addClassConstructorDefaults( S.Class("Person")({ a: S.string, b: S.number }), { a: ()...
I don't see how it could ever work, in your combinator (and in my `addClassConstructorDefaults` above) only the constructor is handled: ```ts export const addDefaults: Args[K] }, Out extends object>(...
Closing this because a `DateFromNumber` schema has been added (v 0.67.0)
@vecerek @jessekelly881 impl here, feel free to leave any comments: https://github.com/Effect-TS/effect/pull/2816
> I can only reproduce it by forcing its generics There's no error because `Record` is a valid `Partial`: ```ts type A = Partial unknown }> declare const x: Record...
Well I'm just explaining why, with the current typings, it can't report an error. Practically speaking you are not supposed to force the types at the call site I guess,...