Skip to content

FR-023 Phase 2: share a model across separate repos in Java, Kotlin and C# (Maven/NuGet packaged) #482

Open

Description

@dmealing

Sharing one model across separate repositories (FR-023, #9) ships for TypeScript and Python only (Phase 1a). Java, Kotlin and C# ignore the dependencies key, so a Kotlin or Java service in its own repository cannot consume a shared model, and its build cannot fail when the upstream model drifts.

This is the Phase 2 work: consume (load the committed snapshot, extend and overlay across the boundary, exclude imported nodes from codegen), check (upstream drift in each port's own verify), and publish (a shared-model artifact from Java/Kotlin and C# builds), on the existing cross-port contract (fixtures/dependency-conformance/). Kotlin inherits from the Java loader and Maven plugin.

Packaging matters for JVM and .NET shops: the long-standing pattern is to ship metadata inside a JAR (or NuGet package) and pull it in as a normal Maven (or NuGet) dependency. Phase 2 should support resolving a published model from a Maven artifact and a NuGet package, not only from a sibling directory, so the shared model travels the way the rest of the build's dependencies do.

Evaluators with Kotlin services in separate repositories ruled MetaObjects out until this exists ("Even 100 adopters wouldn't help while a Kotlin service in its own repo can't run the drift check").

Activity

  1. added this to the 1.2 milestone on Oct 28, 2026
  2. added
    FR
    area:tooling
    on Oct 28, 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

    FRarea:tooling

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions