Skip to content

Provider-neutral unions before the contract freezes: name claims and their comparison, a prerequisite in place of an extension, and a provider's grammar for names and operators #200

Backlog

Description

@CaffeinatedCoder

From the audit of #119 (rows 1, 3 and 8), which no other issue holds. At the gate of rc.1, as #111 has it; not decided, and nothing is proposed here yet.

Problem

Three parts of the contract are PostgreSQL's shape in unions that close for the major, each measured or read by the second provider (#119, "The audit, as measured"):

  • NameClaim, SchemaDialect.Claims, SchemaNameComparison. The namespaces can be said by a dialect. What cannot: SQL Server compares names by the database's collation and SQLite folds ASCII letters only, and neither is Ordinal or IgnoreCase; the kernel's default scopes are a guess for a provider without a package; and the cases are named after PostgreSQL's objects (Relation, with TableIndex as the one case that is SQL Server's).
  • Dependency.Extension, ISchemaDialect.EnsureExtension. No other provider has extensions. Not measured: neither probe's object has a prerequisite. What another provider would need is a prerequisite the provider owns.
  • SqlName, SqlOperator. A dialect outside this repository builds them only through SchemaDialect's own grammar; a provider's operator grammar and reserved words have no way in. Identifier is sound.

Change, to decide

To be proposed before rc.1, with #29 as the first consumer: what a provider says about how its names compare, whether a prerequisite replaces the extension, and how a dialect brings its own grammar.

Done when

The SQL Server package (#29) declares an index and a constraint without an Audit: comment on any of the three, and ContractValueTests lists the unions as decided.

Activity

  1. added this to the 11.0.0 milestone on Nov 25, 2026
  2. added
    enhancement
    breaking
    package/core
    package/sqlserver
    area/migrations
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/migrationsbreakingenhancementpackage/corepackage/sqlserver

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions