Repository navigation
[9.0] Fix date/time mapping round-tripping and cloning - #4038
Merged
Merged
Conversation
Backport #4022 (b038505), adapting the JSON query regressions to EF9 owned JSON APIs and generated SQL. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 1583790d-3137-465c-80a4-4634205cc8f0
This was
linked to
issues
Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #4022, using the final merged commit b038505, to
hotfix/9.0.5.All four bugs are present on 9.0:
TimestampTzMultirangewhen cloning NodaTimeIntervalarray/list mappings and configuring parameters.timetzSQL literals, embedded literals and JSON, retaining existing whole-hour output and the merged invariant formatting.LocalDateTimetimestamp mappings.ZonedDateTimeJSON with nonzero offsets as fixed-offset zones. Keep the writer and its six-digit precision unchanged; named-zone persistence is outside this fix.The product changes are identical to the four mapping-class changes in the final merged source. Adapt the JSON functional regressions to EF9
OwnsOne/OwnsManywithToJson, asserting exact EF9 SQL. No dependency, query-pipeline, persisted-format or unrelated BCE changes.Verification
Using .NET SDK 10.0.300 with runtime major-version roll-forward and PostgreSQL 18.4:
timetzJSON cases: 833 passed, 8 existing skips.Fixes #4018
Fixes #4019
Fixes #4020
Fixes #4021