bafolts / plantcode

Provides a javascript utility to generate code in various languages given a plantuml class diagram.
https://segmentationfaults.com/plantcode
MIT License
217 stars 42 forks source link

AccessType is not working in templates #31

Closed rwecho closed 2 years ago

rwecho commented 3 years ago

{{this.getAccessType}} return empty in templates.

GillisWerrebrouck commented 3 years ago

It seems as if + (public), - (private) and # (protected) in the UML all lead to private when generating the code in typescript (and possibly other languages as well). I assume this AccessType is the root cause of this bug.

GillisWerrebrouck commented 2 years ago

Is there an update on when/if this bug will be resolved soon?

bafolts commented 2 years ago

I see these bugs coming in. Trying to find time to work on them. If this only has to be fixed for typescript at first that would help limit the scope and get the fix out faster. I can do fix for typescript only at first. This project is mostly just me and a few other contributors that have shown up over the years. It seems that recently this project has gained in popularity so I plan on spending more of my free time on improvements like this.