Use aws_smithy_types::primitive::Parse
to parse URI path labels and query strings as primitive types in the server
#1232
Labels
The
aws_smithy_types
crate conveniently exposes theaws_smithy_types::primitive::Parse
trait implemented by some types to parse "Smithy primitives".However, we're not using it in the server implementation to parse URI path labels and query string key-value pairs. We're instead generating this:
https://github.com/awslabs/smithy-rs/blob/f34abdaf2c3a8fb0c160778f36911efb457f9a18/codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/protocols/ServerHttpProtocolGenerator.kt#L1018-L1036
The text was updated successfully, but these errors were encountered: