-
- Downloads
Make `ServerProtocolLoader` delegate to `ProtocolLoader` (#1524)
While the set of supported protocols and their implementation is different among servers and clients, the logic to load a specific protocol given a Smithy model is identical. This commit makes `ServerProtocolLoader` inherit from `ProtocolLoader` so that said logic can be reused among clients and servers.
Showing
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/protocols/ServerProtocolLoader.kt 3 additions, 25 deletions...t/codegen/server/smithy/protocols/ServerProtocolLoader.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/protocols/Protocol.kt 1 addition, 1 deletion...e/amazon/smithy/rust/codegen/smithy/protocols/Protocol.kt
Loading
Please register or sign in to comment