File tree 1 file changed +1
-4
lines changed
modules/protocol/resources/META-INF/smithy
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,10 @@ structure packedInputs {}
27
27
@idRef (failWhenMissing : true , selector : " union" )
28
28
string adtMember
29
29
30
- // note: technically, the structure test in the selector is redundant
31
- // as it only checks that there exists at least one member that targets a struct.
32
- // Keeping it for now to avoid model merging issues.
33
30
/// Implies that all members of the union are annotated with the `adtMember` trait.
34
31
/// Further signals that the `sealed trait` for this adt will extend the traits
35
32
/// defined by any mixins that are present on all of the adt members.
36
- @trait (selector : " :test(union :test(> member > structure) , :not([trait|mixin]))" )
33
+ @trait (selector : " :test(union, :not([trait|mixin]))" )
37
34
structure adt {}
38
35
39
36
// the indexedSeq trait can be added to list shapes in order for the generated collection
You can’t perform that action at this time.
0 commit comments