Skip to content

Commit

Permalink
Add @Sparse trait to JsonMapsInputOutputMap
Browse files Browse the repository at this point in the history
Some of the protocol tests assume that this map is sparse and will attempt to insert null values.
  • Loading branch information
rcoh authored and mtdowling committed Oct 31, 2020
1 parent 250f57f commit dc3ec87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smithy-aws-protocol-tests/model/restJson1/json-maps.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ structure JsonMapsInputOutput {
myMap: JsonMapsInputOutputMap,
}

@sparse
map JsonMapsInputOutputMap {
key: String,
value: GreetingStruct
Expand Down

0 comments on commit dc3ec87

Please sign in to comment.