mirror of
https://github.com/Effect-TS/effect.git
synced 2026-11-20 01:53:23 +08:00
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
440 B
440 B
effect
| effect |
|---|
| patch |
Allow Schema decoding defaults to require Effect services.
The Effect passed to Schema.withDecodingDefault, Schema.withDecodingDefaultKey, Schema.withDecodingDefaultType, and Schema.withDecodingDefaultTypeKey now accepts a context R in its third type parameter. The required services are propagated into the resulting schema's DecodingServices. SchemaGetter.withDefault is widened in the same way.