Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand protocol layouts #1753

Merged
merged 10 commits into from
Sep 22, 2022
Merged

Expand protocol layouts #1753

merged 10 commits into from
Sep 22, 2022

Conversation

82marbag
Copy link
Contributor

Motivation and Context

Routes and protocols currently live in the same module. To allow their further extension with new protocols and to reduce complexity of their current implementation, we should split protocols into their own module.

Part of RFC 20

Description

New module structure:

aws_smithy_http_server::proto::rest::rest_json_1
aws_smithy_http_server::proto::rest::rest_xml
aws_smithy_http_server::proto::aws_json::aws_json_10
aws_smithy_http_server::proto::aws_json::aws_json_11

Testing

make && cargo test in the Pokemon service folder

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
  • I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Daniele Ahmed <[email protected]>
@82marbag 82marbag requested a review from a team as a code owner September 20, 2022 13:55
Signed-off-by: Daniele Ahmed <[email protected]>
Signed-off-by: Daniele Ahmed <[email protected]>
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

Signed-off-by: Daniele Ahmed <[email protected]>
Signed-off-by: Daniele Ahmed <[email protected]>
Signed-off-by: Daniele Ahmed <[email protected]>
@smithy-lang smithy-lang deleted a comment from github-actions bot Sep 21, 2022
Signed-off-by: Daniele Ahmed <[email protected]>
@smithy-lang smithy-lang deleted a comment from github-actions bot Sep 21, 2022
@smithy-lang smithy-lang deleted a comment from github-actions bot Sep 21, 2022
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@@ -31,13 +31,16 @@ pub mod routing;
#[doc(hidden)]
pub mod runtime_error;

pub mod routers;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be #[doc(hidden)] for now.

@82marbag 82marbag enabled auto-merge (squash) September 22, 2022 08:25
@github-actions
Copy link

A new generated diff is ready to view.

A new doc preview is ready to view.

@82marbag 82marbag merged commit 43e3e29 into main Sep 22, 2022
@82marbag 82marbag deleted the module-layout branch September 22, 2022 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants