Skip to content
Unverified Commit 2d5bf6fc authored by david-perez's avatar david-perez Committed by GitHub
Browse files

Only generate `@error` `message` getter when defined in the model (#1441)

We are currently generating a useless `message` getter that returns
`None` even when the `message` field is not defined in the model.
Granted, in the client this field is _almost always_ there, because the
`AddErrorMessage` model transformer is applied unless the user opts out
in their `smithy-build.json`.
parent 1875448d
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