Using `Schema.Literal("wav", "mp3", "flac").pipe(Schema.propertySignature, Schema.withConstructor...
Today I told Claude to generate me some schemas, and it used a non-existent method
Does that make sense? is it a shortcut to define just the constructor default?
optional. Then I explained that it should use optionalWithDefaults and provide some constructor properties for constructor and decoding. But instead it came up with this strategy:Does that make sense? is it a shortcut to define just the constructor default?
