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

chore(codegen): update smithy commit to closed enums #5356

Merged
merged 7 commits into from
Oct 16, 2023
Merged

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Oct 13, 2023

Issue

closes #4278

Description

Shapes with members targeting string and number enums (TypeScript unions) have been closed, no longer having | string or | number appended.

Testing

This change has no runtime effect.

For user guidance, see smithy-lang/smithy-typescript#1028

@kuhe kuhe requested a review from a team as a code owner October 13, 2023 15:38
@kuhe kuhe merged commit 7d31222 into aws:main Oct 16, 2023
2 checks passed
@kuhe kuhe deleted the chore/sync branch October 16, 2023 16:27
@danielrbradley
Copy link

Just FYI @trivikr @kuhe this just caused us to have compilation failures as we were passing in variables as strings to be used in these properties typed as enums.

IMO this should have been flagged as a breaking change as it could require users to rewrite their code to be compatible.

Copy link

github-actions bot commented Nov 1, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove | string from enums
3 participants