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

Allow Aggregates To Inherit Other Aggregates As Mixins #532

Open
reid-spencer opened this issue Dec 21, 2023 · 0 comments
Open

Allow Aggregates To Inherit Other Aggregates As Mixins #532

reid-spencer opened this issue Dec 21, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@reid-spencer
Copy link
Contributor

Aggregate definitions in riddl should allow the aggregate to be mixed into identical kinds of aggregates (Command, Record, etc).
Scala's inheritance linearization should be used:

  • Only one copy of each named aggregate will be present in the final aggregate
  • Field/method conflicts from different inherited aggregates should be reported as errors
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

1 participant