Skip to content
New issue

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

Package is an unknown type #33

Open
GillisWerrebrouck opened this issue Nov 3, 2021 · 2 comments
Open

Package is an unknown type #33

GillisWerrebrouck opened this issue Nov 3, 2021 · 2 comments

Comments

@GillisWerrebrouck
Copy link

When using the package keyword in a UML, plantcode throws an error.

Example:
input:

@startuml
package test1 {
    class A {
        + c string
        - d string
    }
}

package test2 {
    class B {}
}

A --|> B
@enduml

output:

Error parsing input file: 
../../uml
Unknown type

This is a valid input according to plantuml but doesn't seem to be accepted by plantcode, although, when looking at the plantcode code, there seems to be support for the package keyword.

@bafolts bafolts added the bug label Nov 3, 2021
@GillisWerrebrouck
Copy link
Author

Once this bug is resolve it could be a good enhancement to make use of this package keyword a little more than what I think it does now. As far as I understand 1 file is created even when the keyword package is being used. It would be beneficial if this CLI tool would create multiple files in a folder structure that is according to the packages in the UML. This could also be implemented with the folder keyword as supported by plantuml instead of package.

@bafolts bafolts added enhancement and removed bug labels Nov 6, 2021
@bafolts
Copy link
Owner

bafolts commented Nov 6, 2021

Changing this to enhancement as support for package is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants