Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feature/375-base-package #386 +/- ##
============================================================
- Coverage 91.8% 91.7% -0.1%
- Complexity 2237 2280 +43
============================================================
Files 211 211
Lines 5961 6027 +66
Branches 811 828 +17
============================================================
+ Hits 5474 5532 +58
- Misses 232 234 +2
- Partials 255 261 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
stefan-ka
force-pushed
the
feature/375-base-package
branch
from
October 20, 2026 21:55
0389a6f to
c1b9e4f
Compare
stefan-ka
force-pushed
the
feature/161-bounded-context-owner
branch
from
October 20, 2026 21:55
628a2fe to
4b1752c
Compare
stefan-ka
marked this pull request as ready for review
November 19, 2026 16:08
A Bounded Context can name the team that owns it: owner = FareProductTeam As for Aggregates, the owner must be a Bounded Context of type TEAM.
stefan-ka
force-pushed
the
feature/375-base-package
branch
from
November 19, 2026 16:33
c1b9e4f to
bb9e147
Compare
stefan-ka
force-pushed
the
feature/161-bounded-context-owner
branch
from
November 19, 2026 16:33
4b1752c to
4fd9ca5
Compare
…161) The owner of a Bounded Context should be one of the teams realizing it, and the owner of an Aggregate should own or realize the Aggregate's Bounded Context. Both checks only apply if the context has an owner or realizing teams.
If the context has an owner, Aggregates without an own owner belong to it, the owner's Aggregates stay in the original context, and the new contexts are owned by the team of their Aggregates. Contexts without an owner are split as before.
- PlantUML component diagram: owner in the note of the component - MDSL: owner comment on API providers and clients - Freemarker sample templates: owner in the Bounded Context lists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #161 (the issue stays open for the follow-up questions listed below).
Stacked on #385; the base branch is
feature/375-base-package, so the diff only shows this feature.Changes
ownerattribute onBoundedContext(reference to a Bounded Context,=optional), like the existingowneron Aggregates:TEAM(same message as for Aggregate owners).ownerstarts on a new line.Owner vs.
realizesTeam realizes BCsays which teams work on a context (many-to-many);ownernames the one team that is accountable for it, declared on the context itself. The owner is meant to be one of the realizing teams. Two new warnings keep both consistent:Both only apply if the context has an owner or realizing teams, so existing models get no new warnings.
Split Bounded Context by Owners
If the context has an owner:
HashMaporder.owner.Contexts without an owner are split exactly as before.
Generators
Owner: <team>in the note of the component (the note is now also printed when there is no domain vision statement).// Owner: <team>on the API provider and client.samples/freemarker/markdown-templates/bounded-contexts): owner in the simple and the detailed Bounded Context list. Custom templates can use${bc.owner.name}.Not included
context-map-generator(the «realizes» edge is built there); follow-up.contact/handleattribute on Teams (e.g. for CODEOWNERS generation, Generator templates for coding agents: AGENTS.md, CODEOWNERS and agent permissions per Bounded Context #379).ownerwas already a keyword (Aggregates), so no highlighting change in the VS Code extension is needed.Docs: ContextMapper/contextmapper.github.io#107