Skip to content

SchemaKit: snapshot format v2 and CodoMetis: annotation keys ship in 11.0.0; the 5.x format is read forever (D11) #58

Open

Description

@CaffeinatedCoder

Problem

Annotation keys and the snapshot format end up permanently in consumers' model snapshots and migrations. ROADMAP.md 5.5 (D11) plans one annotation per declaration, under the CodoMetis: prefix (owner-branded, so it survives any product name).

Changing the format in an 11.x minor would give every consumer an empty migration on a minor upgrade, which a CI gate on has-pending-model-changes reports as a failure. So the change belongs in 11.0.0.

Change

Done when

  • Round-trip tests pass for v2 and for a real 5.x snapshot (compiled with Roslyn, as SnapshotRoundTripTests does).
  • The migration guide states up front the one empty migration the format change produces, if it produces one.
  • It ships in 11.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/migrationsThe differs, snapshot format, EnsureCreated and design-time wiringenhancementNew feature or requestpackage/coreAffects EFCore.ComplexIndexes

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions