Skip to content

fix: allow endpoint params to be explicitly undefined if not required #1618

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

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jun 12, 2025

This allows endpoint parameters with the optional symbol ? to also be explicitly undefined.

This should have no functional impact, since we enabled explicit-undefined for code generated models a while back. The motivation for this is that the endpoint ruleset can make logical distinctions between false and undefined for certain values, in my case S3's useArnRegion.

This means our (AWS SDK) config resolvers need to be able to pass an undefined value explicitly.

@kuhe kuhe requested a review from a team as a code owner June 12, 2025 19:18
@kuhe kuhe merged commit d468edf into smithy-lang:main Jun 13, 2025
15 of 20 checks passed
@kuhe kuhe deleted the fix/endpoint-params branch June 13, 2025 14:47
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