Skip to content

Commit 56f4c8e

Browse files
drganjooFahad Zubairdavid-perez
authored
CHANGELOG entry for PR:3378 (#3747)
Adds an entry to CHANGELOG.next.toml for the [PR:3378](#3378) --------- Co-authored-by: Fahad Zubair <fahadzub@amazon.com> Co-authored-by: david-perez <d@vidp.dev>
1 parent dcf16ac commit 56f4c8e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.next.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,17 @@ message = "Fix bug where stalled stream protection would panic with an underflow
2828
references = ["smithy-rs#3744"]
2929
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "client" }
3030
author = "Velfi"
31+
32+
[[smithy-rs]]
33+
message = """
34+
`FromParts<Protocol>::Rejection` must implement `std::fmt::Display`.
35+
36+
Handlers can accept user-defined types if they implement
37+
[FromParts<Protocol>](https://docs.rs/aws-smithy-http-server/latest/aws_smithy_http_server/request/trait.FromParts.html) with a `Rejection`
38+
type that implements `std::fmt::Display` (preferably `std::error::Error`) to enable error logging when parameter construction from request parts fails.
39+
40+
See the [changelog discussion for futher details](https://github.com/smithy-lang/smithy-rs/discussions/3749).
41+
"""
42+
references = ["smithy-rs#3746"]
43+
meta = { "breaking" = true, "tada" = false, "bug" = false, "target" = "server" }
44+
author = "drganjoo"

0 commit comments

Comments
 (0)