Skip to content
Unverified Commit cba3edfb authored by Fahad Zubair's avatar Fahad Zubair Committed by GitHub
Browse files

Refactor the `as_validation_exception_field` function definition in...

Refactor the `as_validation_exception_field` function definition in `ServerBuilderConstraintViolations`. (#3719)

This PR refactors the code to limit the visibility of
`crate::model::ValidationExceptionField` to only those decorators and
associated classes that are invoked when
`smithy.framework#ValidationException` is being used.

More information is in [this
issue](https://github.com/smithy-lang/smithy-rs/issues/3718).

Closes: [3178](https://github.com/smithy-lang/smithy-rs/issues/3718

)

---------

Co-authored-by: default avatarFahad Zubair <fahadzub@amazon.com>
Co-authored-by: default avatardavid-perez <d@vidp.dev>
parent b7488786
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