riddl icon indicating copy to clipboard operation
riddl copied to clipboard

Allow Aggregates To Inherit Other Aggregates As Mixins

Open reid-spencer opened this issue 1 year ago • 0 comments

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

reid-spencer avatar Dec 21 '23 22:12 reid-spencer