Skip to content

Add validation support for override and virtual - #454

Draft
bemerybmw wants to merge 5 commits into
mainfrom
brem_override_support
Draft

Add validation support for override and virtual#454
bemerybmw wants to merge 5 commits into
mainfrom
brem_override_support

Conversation

@bemerybmw

Copy link
Copy Markdown
Contributor

This commit adds validation support for classes which inherit from an
interface. Previously, the validator would fail because the overriding
methods didn't have virtual / override flags but the parser did not
recognise these tags in puml.

bemerybmw and others added 5 commits September 2, 2026 10:41
`static_view` is an optional additional section for component diagrams that
present a partial view of the static architecture (e.g. a diagram scoped to a
subsystem). Diagrams passed to `static_view` are parsed like `static`, but are
never used to define the units/components validated against the Bazel
component graph. Instead, every component/unit defined in a `static_view`
diagram must also be defined, under the same parent, in `static`: it may only
contain a subset of the units/components of the matching `static` diagram.

The `static_view` section can be used for creating additional diagrams that
provide a view onto the architecture which make the design easier to view / understand.
E.g. you can create a diagram which shows a subset of components as showing all
components in one view may be too "busy". It can also be useful when showing the
interfaces between components. Adding all the interfaces in the diagrams in the
`static` view may result in too many interface lines which is not readable. Instead,
a view can be created with a subset of components and only the interfaces between these
chosen components can be shown.

Co-authored-by: GitHub Copilot <copilot@github.com>
Co-authored-by: GitHub Copilot <copilot@github.com>
Preserve PlantUML source directory structure in generated Sphinx
documentation and create nested navigation indexes. Keep directory
entries expandable but non-clickable in the sidebar, while retaining
links for individual diagram pages.

Co-authored-by: GitHub Copilot <copilot@github.com>
Permit files in different directories to share the same basename while
preserving path-based identity.

Co-authored-by: GitHub Copilot <copilot@github.com>
This commit adds validation support for classes which inherit from an
interface. Previously, the validator would fail because the overriding
methods didn't have virtual / override flags but the parser did not
recognise these tags in puml.
@bemerybmw
bemerybmw force-pushed the brem_override_support branch from 6bf81ed to daa079c Compare September 2, 2026 08:54
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Coverage Report

Coverage report was generated.

Full report can be downloaded from the CI artifacts (expand Artifacts at the bottom of the run).

Overall coverage rate:

lines......: 86.8%
functions......: 54.8%

@bemerybmw

Copy link
Copy Markdown
Contributor Author

This still appears to be broken since these tags are not correctly parsed by plantuml:
image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant