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

JS: Fix naming issue in generated models #16308

Merged
merged 3 commits into from
Apr 25, 2024

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Apr 23, 2024

The first commit fixes an issue where in model generation, where package names containing a dot weren't single-quoted, so they'd be parsed as a <package>.<type> pair instead of just a reference to the package.

This ends up looking a bit ugly for generated packages where we use the convention (package).access_path. So the following commit adds explicit support for (package) as a type name.

@asgerf asgerf added the no-change-note-required This PR does not need a change note label Apr 23, 2024
@asgerf asgerf requested a review from a team as a code owner April 23, 2024 18:28
@github-actions github-actions bot added the JS label Apr 23, 2024
Copy link
Member

@RasmusWL RasmusWL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@RasmusWL RasmusWL merged commit 290b0fc into github:main Apr 25, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants