Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'

This commit is contained in:
-Puter
2026-07-19 03:25:10 +05:30
parent dd1071cc10
commit 2daf979036
2214 changed files with 673090 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
"effect": patch
---
Use generic ordered constraints for schema arbitrary derivation.
Range checks such as `isGreaterThan`, `isLessThan`, and `isBetween` now populate `ctx.constraints.ordered`
instead of type-specific range fields on `number`, `date`, or `bigint` constraints. Custom `toArbitrary`
annotations that read range constraints should migrate to `ctx.constraints.ordered`.
This also fixes BigDecimal arbitrary generation by adapting decimal bounds to the generated scale, avoiding
invalid fast-check bigint ranges for narrow decimal intervals.