Patch Changes
-
#2387
93cb4f8Thanks @gcanti! -Config.withDefaultnow only recovers from missing data for literal/union
schemas. Invalid present values now propagate validation errors instead of
using the default, closes #2384. -
#2388
60341d9Thanks @gcanti! -Config.withDefaultno longer recovers from schema filter failures. A filter
failure means a present value reached refinement checks, so using the default
could hide invalid configuration values. -
#2389
1105ab5Thanks @gcanti! - FixSchema.toTaggedUnion(...).isAnyOfnarrowing for custom discriminant keys, closes #2386.Previously, the type predicate always extracted union members by
_tag, even
whentoTaggedUnionwas created with a different discriminant key. Runtime
behavior already used the supplied key, so this aligns the type-level narrowing
with the existing runtime behavior. -
#2270
4500fbfThanks @IMax153! - Add HTTP API streaming response support