Skip to content

feat(sdk): generate MEP protocol types from the MEP model IR #241

Description

@DamianReeves

Part of finos/morphir#958, phase B.

What

Commit a copy of the MEP IR from an exact finos/morphir commit, with its source and digest:

vendor/morphir-mep/ir.json   # source: finos/morphir spec/mep @ <sha>, sha256: ...

Generate the Rust protocol types in morphir-extension-sdk from it with the morphir-rust backend. When model publishing exists, the copy becomes morphir package restore.

Done when

  • The generated types replace the hand-written protocol types, and the wire format is unchanged.
  • CI fails when the generated Rust does not match the vendored IR.

Blocked by

Design

checkpoint 9, checkpoint 12 in finos/morphir#949.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions