We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When workspace.trim() removes an element, relationships to that element are left in the model.
Test case:
@Test void trim_WhenTheDestinationOfAnElementIsRemoved() { Workspace workspace = new Workspace("Name", "Description"); SoftwareSystem a = workspace.getModel().addSoftwareSystem("A"); SoftwareSystem b = workspace.getModel().addSoftwareSystem("B"); a.uses(b, "Uses"); SystemLandscapeView view = workspace.getViews().createSystemLandscapeView("key", "Description"); view.add(a); workspace.trim(); assertEquals(0, a.getRelationships().size()); }
No response
Minor
I'm willing to fix this myself and raise a PR (please confirm approach first)
The text was updated successfully, but these errors were encountered:
b4211a9
Fix released in https://github.com/structurizr/java/releases/tag/v2.1.4
Sorry, something went wrong.
No branches or pull requests
Description
When workspace.trim() removes an element, relationships to that element are left in the model.
Steps to reproduce
Test case:
Screenshot
No response
Code sample
No response
Configuration
No response
Severity
Minor
Priority
I'm willing to fix this myself and raise a PR (please confirm approach first)
More information
No response
The text was updated successfully, but these errors were encountered: