pistazie / cdk-dia

Automated diagrams of CDK provisioned infrastructure
MIT License
877 stars 37 forks source link

Decorator annotation #14

Closed nkrijnen closed 2 years ago

nkrijnen commented 2 years ago

First merge https://github.com/pistazie/cdk-dia/pull/15, this PR is based on that work (only the last 4 commits should really be part of this PR, but cross-fork I cannot select the correct base branch.

This adds a simpler way of decorating code to influence how the diagram behaves. Making use of typescript decorators.

nkrijnen commented 2 years ago

@pistazie I fixed the merge conflict (rebased the changes on latest main was all it took).

For some reason github doesn't seem to run the actions on the last commit. I did run the tests & smoketest locally with act and that passes.

pistazie commented 2 years ago

Thanks @nkrijnen. This really simplifies customizing the diagrams CDK-Dia produces.