Fix selector in RawIntegerWithoutRange examples#2966
Fix selector in RawIntegerWithoutRange examples#2966tlindsay42 wants to merge 1 commit intosmithy-lang:mainfrom
Conversation
|
This pull request does not contain a staged changelog entry. To create one, use the Make sure that the description is appropriate for a changelog entry and that the proper feature type is used. See |
|
Ready for review @yasmewad :) |
|
I've left a comment over on the issue for this - #2965 (comment) |
|
Per our discussion, you will not accept this PR because the desired outcome that description & message template in this example is intended to communicate is to create a custom integer separate with the Disagree & commit Exampleoperation GetFoo {
input := {
something: SomethingValue
}
}
@range(min: 1, max, 10)
integer SomethingValue |
Background
Fixes the selector in each example
Examples should work as advertised
Existing documentation excerpt
Ref: https://smithy.io/2.0/guides/model-validation-examples.html#require-integers-to-have-a-range-constraint
Existing experience
Proposed experience
Testing
In my current project. AWS employee, so feel free to DM me if you have questions.
Links
https://smithy.io/2.0/guides/model-validation-examples.html#require-integers-to-have-a-range-constraint
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.