Skip to content
Commit 3042b7c5 authored by david-perez's avatar david-perez Committed by AWS SDK Rust Bot
Browse files

Allow server decorators to postprocess `ValidationException` not attached error messages (#2338)

Should they want to, a server decorator can now postprocess the error
message that arises when a constrained operation does not have the
`ValidationException` shape attached to its errors.

This commit adds a test to ensure that when such a decorator is
registered, the `ValidationResult` can indeed be altered, but no such
decorator is added to the `rust-server-codegen` plugin.
parent e2eb1e1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment