Skip to content

Explore inherited invariants across imported subtype boundaries #47

Description

@jbeda

Context

Issue #25 will allow a local entity to use subtypeOf: scope.Entity for an imported entity. The initial implementation deliberately resolves only the imported entity identity. It does not traverse the imported hierarchy, detect cross-model subtype cycles, or treat imported invariants as satisfying the local subtype’s completeness obligations.

Open question

Should a future version propagate inherited invariants across that boundary? Doing so would make a local lint result depend on imported model semantics and would need clear rules for traversal, cycles, diagnostics, and ownership.

This is intentionally speculative. We do not yet know whether the added semantic coupling is desirable; no implementation is proposed by this issue.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions