You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
This could be handled with a non-break change: runtime checktraitData[i].trait field as a flag to support both forms.
This new form matches naturally to the original design that "traits are types not instances", makes TraitDefinition a MUST have, and also aligns better to the needs of OAM app engine. We could consider deprecating traitData[i].trait form in long term.
The text was updated successfully, but these errors were encountered:
Actually, I think there is real need to touch trait for now but we do need to touch workload. We need to have different workloadDefinitions pointing to the same workload.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See: https://github.com/oam-dev/spec/blob/master/7.application_configuration.md#traitdata.
For
traitData
section, we now only implemented the unstructured approach. I'd propose we also implement the structured approach like below:This could be handled with a non-break change: runtime check
traitData[i].trait
field as a flag to support both forms.This new form matches naturally to the original design that "traits are types not instances", makes TraitDefinition a MUST have, and also aligns better to the needs of OAM app engine. We could consider deprecating
traitData[i].trait
form in long term.The text was updated successfully, but these errors were encountered: