Repository navigation
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6523471f-aaf2-4f26-87b0-d9889079c81c
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: ae01fae1-3e57-4d55-ad2c-f746a2d1084d
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.
@ankane check out #63 first; this is stacked on top, targets net11.0 and EF 11, and implements #59 (stop auto-loading vector columns).
Closes #59
Dependency and diff scope
Depends on #63 (Pgvector.EntityFrameworkCore 10.0.0). This PR intentionally targets upstream
masterand includes both the inherited EF 10 layer and the EF 11 delta. The branch retains #63's commit as its parent; native GitHub stack registration is unavailable for these fork heads.The inherited layer updates the EF integration to 10.0.0, net10.0, and EFCore.PG 10.0.3. The EF 11 delta is commit fb05a0e.
EF 11 changes
IConventionSetPluginusing EF 11'sAutoLoadConventionto excludeVector,HalfVector, andSparseVectorproperties from automatic entity loading by default. Explicit model configuration takes precedence;BitArraybehavior is unchanged.build/net11.0, update the SDK/CI configuration, and document the new default, explicit projections, and model-level opt-in viaMetadata.IsAutoLoaded = true.Lower-level Pgvector and Pgvector.Dapper versions, target frameworks, and dependency policies are unchanged. Per-query auto-loading opt-in is out of scope.
Validation
lib/net11.0andbuild/net11.0assets. An isolated package consumer verified the convention, generated design-time services reference, and design-time mapping/code-generation registration.Related to #59.