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: properly prevent unreachable error codegen in endpoint rules #446

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

lucix-aws
Copy link
Contributor

Prevents generation of unreachable code by not considering the static uriEncode function as a condition when deciding whether to generate fallback.

A source comment next to the change contains a more detailed explanation.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lucix-aws lucix-aws requested review from a team as code owners August 16, 2023 00:33
Copy link
Contributor

@aajtodd aajtodd left a comment

Choose a reason for hiding this comment

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

This may be something to talk with Smithy about...it feels like we shouldn't have to handle this and that they should maybe provide a utility. Never hurts to ask anyway.

@lucix-aws lucix-aws merged commit 664582d into main Aug 16, 2023
20 checks passed
@lucix-aws lucix-aws deleted the fix-rulesgen branch August 16, 2023 14:36
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