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

Add `` to "default" Swift enum value #125

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

liangdrime
Copy link
Contributor

TypeScript enum value DEFAULT was converted to default in Swift, that caused a naming conflict issue.

To fix it, adding `` to default value of Swift enum while transforming it from ts to Swift.

@haven2world
Copy link
Collaborator

Could you add this case into the demo/basic/interfaces.ts and run npm run start:example:basic to generate the code

@liangdrime
Copy link
Contributor Author

Could you add this case into the demo/basic/interfaces.ts and run npm run start:example:basic to generate the code

Added!

@haven2world haven2world merged commit c4394ce into microsoft:main Jul 2, 2024
5 checks passed
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