We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8635932 commit f662d6aCopy full SHA for f662d6a
smithy-model/src/main/resources/software/amazon/smithy/model/loader/prelude.smithy
@@ -721,7 +721,16 @@ string pattern
721
722
/// Marks a structure member as required, meaning a value for the member MUST
723
/// be present.
724
-@trait(selector: "structure > member")
+@trait(
725
+ selector: "structure > member"
726
+ breakingChanges: [
727
+ {
728
+ change: "add"
729
+ severity: "WARNING"
730
+ message: "If any consumers were previously omitting this member in operation inputs, making it required is backwards incompatible"
731
+ }
732
+ ]
733
+)
734
structure required {}
735
736
/// Configures a structure member's resource property mapping behavior.
0 commit comments