riddl
riddl copied to clipboard
Allow Aggregates To Inherit Other Aggregates As Mixins
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