Replies: 1 comment
-
Ah, sorry, I see it is not supported: c5605ab |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello - By way of introduction, I've been creating a Scala library that wraps some of the structurizr libraries (https://github.com/caesarsdigital/ztructurizr). It is meant to be opinionated and integrate with a particular Scala library ecosystem (ZIO), though I haven't fully formed my opinions yet so it is likely to change a lot!
One thing I'd like to do is to create tests using fake implementations of services that generate diagrams; this uses ZIO's dependency injection functionality to detect changes at compile-time and force fixing up of diagrams if there is a missing component, container, etc, and am working on prototyping this in a project currently. Depending on how that goes, I'll likely add some examples and convenience code back into ztructurizr.
One thing I'm wondering about is if there is any facility to diagram code inside of a container? I'm currently creating "fake" implementations of services, so a method could be annotated/implemented in a way that generates some diagram elements, if this is supported in structurizr by some means. I guess even just listing the methods of a component would be a good first step.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions