oam-dev / spec

Open Application Model (OAM).
https://oam.dev
Other
3.04k stars 246 forks source link

Trait and Scope definitions in 0.2.2 WD #438

Open BBialeckiACR opened 3 years ago

BBialeckiACR commented 3 years ago

Specifically state that traits apply to components and scopes apply globally to an application. Settings in traits and components are essentially parameters themselves, but trying to have components opt in and out of a scope yet defining it at the application level burdens the Platform in parsing. There is a component level configuration which is trait that can be used and applied to multiple components in an application configuration.