Skip to content

SchemaKit API design: a declaration the database would reject does not compile #11

Closed

Description

@CaffeinatedCoder

Accepted 2026-11-11. The surface of design/schemakit-api.md (sections 1 to 8) stands: names as drafted, the staged exclusion chain, column-only keys kept. Its open questions are answered in the plan, section 7; the analyzer ships in 11.0.0. The engines of its section 9 are superseded by the plan.


Goal

Decided 2026-10-19 by the maintainer: SchemaKit gets an entirely new public API. It is not the 5.x API under new ids.

The rule is the one the CodoMetis.ValueRanges range types follow: a declaration PostgreSQL or SQL Server would reject must not compile. The design makes full use of what .NET 11 and C# 15 offer for that, closed hierarchies first of all.

The first SchemaKit preview carries this API. No preview ships the old API under the new ids (#2).

The design must answer

Done when

Activity

  1. added this to the 11.0.0 milestone on Oct 19, 2026
  2. added
    enhancement
    package/core
    package/postgresql
    package/sqlserver
    area/indexes
    area/constraints
    area/migrations
    on Oct 19, 2026
  3. added this to the 11.0.0 milestone on Nov 11, 2026
  4. CaffeinatedCoder commented on Nov 11, 2026

    @CaffeinatedCoder
    OwnerAuthor

    The design is on main as design/schemakit-api.md with its 30 compile probes (72 of 72 tests green on SDK 11.0.100 in the first CI run), and the maintainer accepted its surface on 2026-11-11. The open questions of its section 16 are answered in the plan, section 7. What is left of the document, bringing its sections 9 and 10 in line with the decided core, is #36.

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/constraintsarea/indexesarea/migrationsenhancementpackage/corepackage/postgresqlpackage/sqlserver

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions