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 kernel's UseSchemaKit() on DbContextOptionsBuilder: keep its name, rename it, or take it out of IntelliSense #141
area/migrationsThe differ and generator decorators, snapshot format, EnsureCreated and the UseSchemaKit wiringenhancementNew feature or requestpackage/coreAffects CodoMetis.EFCore.SchemaKit (the kernel)
Decided 2026-11-14 by the maintainer: option 1, the name stays. The kernel's UseSchemaKit() is neither renamed nor hidden; the guard is the refusal of #113 where an object is declared. Recorded in the plan's section 7 by #142.
Split off #113 (its point 2), which is the one part of it that is a decision about the public surface.
Problem
A consumer of the PostgreSQL package meets two UseSchemaKit(): the package's on NpgsqlDbContextOptionsBuilder, which is the one to call, and the kernel's on DbContextOptionsBuilder, which compiles as soon as the kernel's namespace is imported. UseNpgsql(cs).UseSchemaKit() is the kernel's.
Since #113 the mistake is refused where the first object is declared, with the package to register. What is left is that the wrong call is still offered, under the same name, and that a context which declares nothing over a 5.x snapshot is refused only at the first diff.
The kernel's method is not a consumer's call in any setup that renders something: a provider package calls it from its own registration, and a third party's contributor package would do the same.
Rename the kernel's method to say what it is for (a provider without a package, a package's own registration). A consumer of a provider package then sees one UseSchemaKit(). It changes the plan's "one wiring point, UseSchemaKit()" for the kernel alone and every document that shows the kernel's call.
[EditorBrowsable(Never)] on the kernel's method. It leaves completion lists for a package reference; it still compiles when typed, and an IDE shows it within the defining solution.
Done when
The decision is recorded here and in the plan, and the guide's table of missed steps (docs/moving-from-complexindexes-5x.md) no longer says the name is open. A rename has to land before 11.0.0; whether before preview.1 is part of the decision.
area/migrationsThe differ and generator decorators, snapshot format, EnsureCreated and the UseSchemaKit wiringenhancementNew feature or requestpackage/coreAffects CodoMetis.EFCore.SchemaKit (the kernel)
Activity
docs: the kernel's UseSchemaKit() keeps its name