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

Support multitype attribute #79

Open
andrew2net opened this issue Mar 18, 2021 · 1 comment
Open

Support multitype attribute #79

andrew2net opened this issue Mar 18, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@andrew2net
Copy link

andrew2net commented Mar 18, 2021

I'm certain that LutaML needs to support multitype attributes. It isn't such a rare case when attributes could have values of different types. For example, PlantUML allows following definfition with multitype bibLocality & bibSourceLocality:

class DocumentRelation {
    +type: DocumentRelationType
    +description: FormattedString[0..*]
    +bibitem: BibliographicItem
    +bibLocality: BibItemLocality[0..*] | LocalityStack[0..*]
    +bibSourceLocality: BibItemLocality[0..*] | LocalityStack[0..*]
}
@andrew2net andrew2net added the enhancement New feature or request label Mar 18, 2021
@ronaldtse
Copy link
Contributor

Agree with @andrew2net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants