Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'
This commit is contained in:
12
repos/effect/.changeset/fix-schema-union-dispatch-order.md
Normal file
12
repos/effect/.changeset/fix-schema-union-dispatch-order.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
"effect": patch
|
||||
---
|
||||
|
||||
Fix union candidate selection and decoding order so that unions now:
|
||||
|
||||
- consider matches from every sentinel key instead of dropping valid members after the first match;
|
||||
- reject ambiguous `oneOf` inputs when members with different sentinel keys both match;
|
||||
- preserve declared member order when combining discriminated members with non-discriminated fallbacks;
|
||||
- commit concurrent decoding results in declaration order instead of completion order.
|
||||
|
||||
Reserved SSE failure event names with non-`Cause` data are now emitted as application events instead of producing a runtime defect.
|
||||
Reference in New Issue
Block a user