You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
10.x: translate Length on Int32Range and Int64Range (port of #405) #438
Length on Int32Range and Int64Range runs as SQL on main since #405 (PR #437, merged as 67628e2). On release/10.x it still runs in memory only, so a 10.x query can't filter or order by it.
Change
Cherry-pick 596766d with -x into a PR against release/10.x:
ValueRangesMemberTranslator, the public ValueRangesMemberTranslatorPlugin and its registration.
IntegerLengthTranslationTests, IntegerLengthParityTests (an oracle, with the seed integer-length-empty-measures-null.patch), and the client-only tests moved to DecimalRange.Length.
translation-support.json, claims E31 and E73, docs/efcore.md#what-runs-where, docs/ranges.md and the EF Core README.
The changelog row goes under [10.3.0]### Added in the root and EF Core changelogs, not under main's [11.0.0-preview.1].
IntegerLengthParityTests uses CompositionRunner.Judge, whose Composition/ helpers came to this line with #430. The test brings its own live coverage of #408's parity list, because 10.x has none of the composition sweeps.
Done when
On release/10.x, the translation and parity tests pass on the EF floor and on the newest-patch leg (PostgreSQL 16 and 18). The seed fails the parity test. translation-support.json classifies both members as server, and the translation-support probe passes.
Release
### Added in 10.3.0. Fixed only on release/10.x, so close it by hand.
Fixed on release/10.x by PR #439 (merged as e022712). Length on Int32Range and Int64Range runs as SQL on this line too, and IntegerLengthParityTests holds it. CI's EF Core 10.0.13 legs passed on PostgreSQL 16 and 18. Closed by hand, because Closes #n acts only on main.
Activity
CaffeinatedCoder commentedon Oct 25, 2026
PR #439.
CaffeinatedCoder commentedon Oct 25, 2026
Fixed on
release/10.xby PR #439 (merged as e022712).LengthonInt32RangeandInt64Rangeruns as SQL on this line too, andIntegerLengthParityTestsholds it. CI's EF Core 10.0.13 legs passed on PostgreSQL 16 and 18. Closed by hand, becauseCloses #nacts only onmain.Merge pull request #439 from CaffeinatedCoder/feat/438-translate-inte…