-
- Downloads
Fix @sensitive handling in Display implementations on error shapes (#1802)
* Use `Sensitive` wrapper in Debug impl for structures * Fix using the wrong import path for `Sensitive` * Use redactMemberIfNecessary * Fix display implementation on errors to respect @sensitive trait * Don't use Sensitive type just yet * Add entry in changelog * Improve redaction of sensitive error message * Use correct flags in changelog * Run ktlint
Showing
- CHANGELOG.next.toml 7 additions, 1 deletionCHANGELOG.next.toml
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/StructureGenerator.kt 2 additions, 1 deletion...rust/codegen/core/smithy/generators/StructureGenerator.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/error/ErrorGenerator.kt 10 additions, 2 deletions...st/codegen/core/smithy/generators/error/ErrorGenerator.kt
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/util/Smithy.kt 12 additions, 7 deletions...n/software/amazon/smithy/rust/codegen/core/util/Smithy.kt
Loading
Please register or sign in to comment