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

Is Language.dependsOn a UsedLanguage? #145

Closed
enikao opened this issue Jun 30, 2023 · 0 comments
Closed

Is Language.dependsOn a UsedLanguage? #145

enikao opened this issue Jun 30, 2023 · 0 comments

Comments

@enikao
Copy link
Contributor

enikao commented Jun 30, 2023

a) "Association class"

Pro:
References from one language to another are real references, just like references from a feature to its type
Con:
We don't have association classes in LIonWeb, so we cannot express M3 in itself.

b) UsedLanguage doesn't appear in M3, it's an serialization format issue

Pro:
Real references (like above)
Con:
Element present in every implementation not part of M3

c) Containment

Pro:
Can be represented in M3
We're using the more stable key instead of id
Con:
Not a real reference, i.e. breaks #144

Decision: Language.dependsOn is a regular reference to other Languages, no special treatment (variant b)

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

1 participant