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

V2: Improve clash resolution in generated names #888

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Conversation

timostamm
Copy link
Member

Identifiers for nested elements, types, enums, and descriptors can clash. This makes sure we prefer names for generated types and enums (and escape a descriptor instead), and that we escape unsafe identifiers last.

@timostamm timostamm merged commit 05acbc4 into v2 Jun 13, 2024
7 checks passed
@timostamm timostamm deleted the tstamm/improve-names branch June 13, 2024 11:52
@timostamm timostamm mentioned this pull request Jun 24, 2024
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