Skip to content
Unverified Commit 1c1a3ef4 authored by david-perez's avatar david-perez Committed by GitHub
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 d7f81308
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