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
net11.0: the EF Core satellite on EF Core 11 (nested complex keys, CAST stripping, primitive collections) #215
Show that the EF Core satellite stays correct on EF Core 11. These checks are owed by the net11.0 target (#208). Sources: What's new in EF Core 11 and its breaking changes, still prerelease.
Checks
Keys and indexes in nested complex types. EF 11 allows HasKey(c => c.CustomerId.Value) and HasIndex(c => c.Address.PostalCode) on scalar properties of nested complex types. That is TypeKit's own .Value shape. Add the shapes to KeyShapes/QueryShapes (test/CodoMetis.TypeKit.EntityFrameworkCore.Tests/Variants/) and run them on SQLite and SQL Server.
No-op CAST stripping. EF 11 removes redundant casts on value-converted properties, so the SQL a README or docs block states in a comment may differ between targets. Decide how the Samples tests hold a per-target SQL comment: keep the docs to one form, or state both forms.
Property no longer configures a primitive collection. Check that the convention configures a collection of value objects, or of their wrapped type, through PrimitiveCollection(...) on EF 11, and that a column isn't silently dropped or mapped as JSON with no converter.
Owned JSON collections without a key are obsolete in favour of ComplexCollection(..., ToJson). A value object inside a complex JSON collection writes and reads as its wrapped type.
UseSqlServer defaults to compatibility level 160. Check the SQL Server oracles under it.
Done when
The checks run in the net11.0 test run against EF Core 11. The floor raise is named in the changelog (decision 120, rule 1). Each disagreement is an issue of its own; a silent one is labelled silent.
Activity