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

feat: allow undefined when property optional for exactOptionalPropertyTypes #1448

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Nov 12, 2024

If a member is optional?:, it should allow undefined. The generated clients do not consider absence vs value-undefined to have a meaningful distinction.

sample diff: aws/aws-sdk-js-v3#6653

completes aws/aws-sdk-js-v3#4017

@kuhe kuhe requested a review from a team as a code owner November 12, 2024 18:05
@kuhe kuhe merged commit 49958f2 into smithy-lang:main Nov 12, 2024
11 checks passed
@kuhe kuhe deleted the fix/exact-optional branch November 12, 2024 19:15
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