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

fix: request compression codegen for resource operations #489

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

lucix-aws
Copy link
Contributor

We MUST iterate over operations with TopDownIndex.getContainedOperations rather than ServiceShape.getAllOperations, the latter only covers operations listed in the service shape's operations list and will miss anything that's listed as part of a resource on the service.

We missed this in the original implementation with the protocol tests because the operations that use the compression trait there are actually in the operations list of the service shape.

@lucix-aws lucix-aws requested review from a team as code owners December 11, 2023 17:08
@lucix-aws lucix-aws merged commit fa639ee into main Dec 11, 2023
11 checks passed
@lucix-aws lucix-aws deleted the fix-requestcompression branch December 11, 2023 17:23
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.

3 participants