Skip to content

November 14th, 2023

Pre-release
Pre-release
Compare
Choose a tag to compare

New this release:

  • 🎉 (all, smithy-rs#3173, smithy-rs#3171) Enable conversion from BuildError into SdkError & <service>::Error. This allows customers to write the following code:

    async fn do_a_thing(client: &Client) -> Result<SdkError<SomeOperationError>> {
        client.run_operation().complex_field(ComplexField::builder()
            .a("a")
            .b("b")
            .build()?
        ).send().await?;
    }

    Previously, ? could not be used in this position.