Midnighter / structurizr-python

A Python 3 port of Simon Brown's Structurizr diagrams-as-code architecture description tool.
https://structurizr.com/
Apache License 2.0
65 stars 16 forks source link

Refactor model as an argument to hydrate class methods #52

Closed Midnighter closed 3 years ago

Midnighter commented 3 years ago

Yeah - I was trying to establish a consistent pattern across SoftwareSystem, Container, Component and DeploymentNode. A couple of alternative approaches:

I'm leaning toward the first approach (including the generic children) as it feels less fragile.

_Originally posted by @yt-ms in https://github.com/Midnighter/structurizr-python/pull/41#discussion_r520877224_