You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logic to find all such operations that need a ValidationException should be defined as a separate function. This will be helpful in other parts of the codebase that might need to determine which kind of ValidationException has been added to operations.
The text was updated successfully, but these errors were encountered:
…xception` (#3720)
Refactor and define a separate function that returns a set of operation
shapes that must have a supported validation exception shape in their
associated errors list.
This helps identify which type of `ValidationException` has been added
to the operation shape's errors list.
Closes: [3722](#3722)
---------
Co-authored-by: Fahad Zubair <fahadzub@amazon.com>
Co-authored-by: david-perez <d@vidp.dev>
The function validateOperationsWithConstrainedInputHaveValidationExceptionAttached uses a
Walker
to find all operation shapes that should have aValidationException
in the errors list, then filters out the ones that don't have it to raise an error.The logic to find all such operations that need a
ValidationException
should be defined as a separate function. This will be helpful in other parts of the codebase that might need to determine which kind ofValidationException
has been added to operations.The text was updated successfully, but these errors were encountered: