-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Description
Usecase: Adding traitValidators via apply. Or expanding another map-based trait.
@traitValidators(
A: { message: "ints not allowed", selector: "integer" }
)
@trait
string T
apply T @traitValidators(
B: { message: "strings not allowed", selector: "string" }
)Currently, this emits an error in the apply because trait conflict resolution only merges list/set traits.
Is this something that Smithy could loosen the constraint on?
Metadata
Metadata
Assignees
Labels
No labels