Repository navigation
Done
Labels
area/expression-indexesExpression, typed lambda and JSON member indexespackage/coreAffects CodoMetis.EFCore.SchemaKit (the kernel)testsAdds or changes tests only (harnesses, parity suites); no library code
Milestone
Description
2026-11-24: measured. spikes/F.Binder on the branch spike/177-binder: 45 tests, 15 on each provider, and each mechanism removed in turn in a scratch copy with the tests that depend on it failing. The answers are in its README; the proposal that cites them is on #114. Not committed or merged yet.
- Final nullability and the column name: yes. No type mapping and no store type on a property; the literal comes from the mapping source, asked of the declared property. A change by a later convention is caught by binding again on the finalized model.
- Text alone, in the design-time model, the runtime model, a snapshot and a compiled model.
- No.
- Yes to both. The order of writing has to be kept for the second message.
- Amended before finalization, bound as amended; nothing to amend after.
- Read at finalization unless the tree is rewritten at the call.
For #114, before its four points are decided. Throwaway code under spikes/F.Binder, on EF Core alone, on Npgsql, SQL Server and SQLite, with no database.
Questions
- What a finalizing convention sees. A convention added by an
IConventionSetPluginand run when the model is finalized: does it see a property's final nullability, its converter (set inOnModelCreating, byConfigureConventions, and the provider's own for an enum), its store type and a type mapping that writes a converted literal as SQL? On each provider. - An unbound declaration held on the model. A declaration stored at the call as an object, replaced by its text at finalization: is the text all that the design-time model, the runtime model, a generated snapshot and a compiled model hold?
- A snapshot is never bound again. Does the convention run for a model built from a snapshot?
- The key.
Declarerefuses a repeated declaration at the call. With the bound form unknown there: can the logical declaration be refused at the call, and two different lambdas that bind to one text at finalization, naming both? Redeclareand the read model before finalization, on a declaration that is not bound yet.- Captured values. A lambda that reads a local which changes after the call.
Done when
Each question has a test per provider and its answer in the spike's README, and #114 carries a proposal that cites them.
Metadata
Metadata
Assignees
Labels
area/expression-indexesExpression, typed lambda and JSON member indexespackage/coreAffects CodoMetis.EFCore.SchemaKit (the kernel)testsAdds or changes tests only (harnesses, parity suites); no library code
Activity