Sync to EF 11.0.0-preview.6.26327.103#3870
Open
roji wants to merge 1 commit into
Open
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Syncs EFCore.PG to EF Core 11.0.0-preview.6.26327.103, updating the provider and its test suite to remain compatible with EF’s latest preview APIs and SQL-generation behavior.
Changes:
- Bumped EF Core and Microsoft.Extensions package versions to
11.0.0-preview.6.26327.103. - Updated
NpgsqlCSharpRuntimeAnnotationCodeGenerator.Createoverride to match EF Core’s updated runtime annotation generator API. - Updated/renamed spec test overrides and refreshed SQL baselines impacted by EF query translation changes (notably null-propagation optimizations).
Show a summary per file
| File | Description |
|---|---|
| Directory.Packages.props | Updates EF Core and Microsoft.Extensions pinned preview versions. |
| src/EFCore.PG/Design/Internal/NpgsqlCSharpRuntimeAnnotationCodeGenerator.cs | Aligns the Create override with the updated EF Core API surface. |
| test/EFCore.PG.FunctionalTests/Update/JsonUpdateNpgsqlTest.cs | Refreshes JSON update SQL parameter baselines to match new EF behavior. |
| test/EFCore.PG.FunctionalTests/Query/SpatialQueryNpgsqlGeometryTest.cs | Updates baseline SQL to reflect EF null-propagation simplification around spatial function calls. |
| test/EFCore.PG.FunctionalTests/Query/SpatialQueryNpgsqlGeographyTest.cs | Same as above, for geography. |
| test/EFCore.PG.FunctionalTests/Query/PrimitiveCollectionsQueryNpgsqlTest.cs | Updates renamed primitive-collection spec test override method names to match upstream. |
Review details
- Files reviewed: 7/7 changed files
- Comments generated: 0
- Review effort level: Low
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.
Summary
Sync EFCore.PG to EF Core
11.0.0-preview.6.26327.103.Changes made:
NpgsqlCSharpRuntimeAnnotationCodeGenerator.Createwith the new EF Core runtime annotation generator API.EF-side PRs requiring EFCore.PG updates
IS NOT NULLchecks dotnet/efcore#34127 - Use null propagation to optimize awayIS NOT NULLchecks.Validation
dotnet build --no-restoredotnet test --no-build