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
Tests: nothing pins #88's IS NOT NULL filter on a property-level declaration #155
area/indexesComplex-property, composite, unique and filtered indexespackage/coreAffects EFCore.ComplexIndexespackage/sqlserverAffects EFCore.ComplexIndexes.SqlServertestsAdds or changes tests only (harnesses, parity suites); no library code
Found in the 5.5.0 pre-tag review (#36) by seeding defects into 934ec55. The code is right today, but nothing pins it.
Seed: in ResolvePropertyLevelIndex (src/EFCore.ComplexIndexes/CustomMigrationsModelDiffer.cs:1474), replace ?? ImplicitFilter(entityType, storeObject, …) with ?? null.
Result: the unit suite still passes, 569/569.
That seed brings #88's silent bug back for every property-level declaration on SQL Server: a unique index over a nullable column, created without WHERE … IS NOT NULL. Today c.Property(r => r.Vin).HasComplexIndex(isUnique: true) on an optional complex property correctly renders CREATE UNIQUE INDEX … ([Registration_Vin]) WHERE [Registration_Vin] IS NOT NULL. #88's tests cover the entity-level path only.
Test to add: the property-level declaration above, with the SQL Server differ and generator; assert the filter. Add a non-nullable control without one. Prove it by re-applying the seed.
area/indexesComplex-property, composite, unique and filtered indexespackage/coreAffects EFCore.ComplexIndexespackage/sqlserverAffects EFCore.ComplexIndexes.SqlServertestsAdds or changes tests only (harnesses, parity suites); no library code
Activity
Pin three 5.5.0 behaviours the pre-tag seeds survived
Add live SQL Server rows for #155 and #156
Merge pull request #160 from CaffeinatedCoder/tests/155-157-surviving…