Repository navigation
[8.0] Fix tsvector columns over owned JSON navigations - #4078
Merged
Merged
Conversation
Backport #3893 (fc4430e), adapting container-column resolution and regression tests for EF8 without complex-JSON mapping support. Co-authored-by: Copilot App <[email protected]>
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.
Backport of #3893 to
hotfix/8.0.12.Fixes #3075
Resolve generated-tsvector included owned-JSON navigation names to their actual container columns, including renamed columns, instead of failing with a
NullReferenceException. Includes the final diagnostic for members that cannot be resolved to a column.Adapted for EF8's existing container-column API. Complex-JSON mapping code/tests are omitted because EF8 does not support that feature; the renamed-container migration test uses an owned JSON navigation instead. Scalar behavior and the existing JSON
"all"filter are unchanged. No configuration-order/table-splitting changes or dependency updates.Validation on .NET 8 and local PostgreSQL 18:
HasGeneratedTsVectorColumn, renamed owned containers, mixed scalar/JSON members, scalar complex properties, and diagnostics.