Skip to content

Document reading CML models from code and tests - #108

Draft
stefan-ka wants to merge 2 commits into
feature/bounded-context-ownerfrom
feature/standalone-usage-reading-models
Draft

stefan-ka wants to merge 2 commits into
feature/bounded-context-ownerfrom
feature/standalone-usage-reading-models

Conversation

@stefan-ka

@stefan-ka stefan-ka commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Documentation for ContextMapper/context-mapper-dsl#381 (part 1).

  • "Usage as Library" page: supported Java versions (11, 17, 21) and a new section "Reading a CML Model in Your Code or Tests" with a snippet that iterates over the context map relationships, plus a pointer to the ArchUnit extension.

The snippet is identical to the one in the DSL README, which is covered by a test (StandaloneAPITest.canReadContextMapRelationships).

Stacked on #107 (base branch feature/bounded-context-owner). This page documents existing functionality only, so it could also be merged independently of a release.

@stefan-ka
stefan-ka force-pushed the feature/bounded-context-owner branch from 6d2d15e to 6e929cf Compare October 23, 2026 14:05
@stefan-ka
stefan-ka force-pushed the feature/standalone-usage-reading-models branch from 84a8627 to 1c51608 Compare October 23, 2026 14:05
@stefan-ka stefan-ka mentioned this pull request Oct 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant