-
- Downloads
Allow third-party devs to write custom plugins for service builders (#1736)
* Allow custom layers to every operation Third-party developers can add custom functions to a service builder, through a `BuilderModifier`. These functionalities are applied to every operation of that service. An example of a builder modifier can be found in rust-runtime/aws-smithy-http-server/examples/pokemon-service/lib.rs Signed-off-by:Harry Barber <hlbarber@amazon.co.uk> Signed-off-by:
Daniele Ahmed <ahmeddan@amazon.de> Co-authored-by:
Harry Barber <hlbarber@amazon.co.uk>
Showing
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ServerServiceGeneratorV2.kt 34 additions, 9 deletions...egen/server/smithy/generators/ServerServiceGeneratorV2.kt
- rust-runtime/aws-smithy-http-server/examples/pokemon-service/src/lib.rs 3 additions, 0 deletions...ws-smithy-http-server/examples/pokemon-service/src/lib.rs
- rust-runtime/aws-smithy-http-server/examples/pokemon-service/src/plugin.rs 80 additions, 0 deletions...smithy-http-server/examples/pokemon-service/src/plugin.rs
- rust-runtime/aws-smithy-http-server/src/lib.rs 2 additions, 0 deletionsrust-runtime/aws-smithy-http-server/src/lib.rs
- rust-runtime/aws-smithy-http-server/src/operation/upgrade.rs 19 additions, 13 deletionsrust-runtime/aws-smithy-http-server/src/operation/upgrade.rs
- rust-runtime/aws-smithy-http-server/src/plugin.rs 79 additions, 0 deletionsrust-runtime/aws-smithy-http-server/src/plugin.rs
Loading
Please register or sign in to comment