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
The core differ silently drops SQL Server and Npgsql index options when it diffs a model a satellite should #92
area/indexesComplex-property, composite, unique and filtered indexesbugSomething isn't workingpackage/coreAffects EFCore.ComplexIndexesseverity/lowCosmetic, message or documentation-level differencesilentAnswers wrongly without throwing — fixes go in the next major, never deferred
The core differ forwards no provider index options (IsForwardedIndexAnnotation is false for everything). When a SQL Server model is diffed by it instead of the satellite's, with UseComplexIndexes() instead of UseSqlServerComplexIndexes() at runtime, or when the satellite's .targets is not imported, every property-level option is dropped without a word:
CREATE INDEX [ix_prop_opts] ON [things] ([city]) WHERE"city"IS NOT NULL;
CREATE INDEX [cx_prop] ON [things] ([code]);
INCLUDE, FILLFACTOR, ONLINE, SORT_IN_TEMPDB, DATA_COMPRESSION and CLUSTERED are gone, and EnsureCreated() applies the result cleanly. The README tells consumers to use the satellite's method, so this is a misconfiguration, but its failure is silent. The same holds for Npgsql: options on a PostgreSQL model diffed by the core.
Fix
The core differ throws when a declaration carries a SqlServer: or Npgsql: index option it does not forward, naming the satellite registration to use. That changes a silent answer into an error, so it ships in a minor with a ### Changed answers row.
Found by the 5.5.0 pre-tag analysis (core and SQL Server).
area/indexesComplex-property, composite, unique and filtered indexesbugSomething isn't workingpackage/coreAffects EFCore.ComplexIndexesseverity/lowCosmetic, message or documentation-level differencesilentAnswers wrongly without throwing — fixes go in the next major, never deferred
Activity
docs: say the core registration fails on a provider package's features (