Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix incorrect generate model names for "metadata" suffix #3553

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

qanghaa
Copy link
Contributor

@qanghaa qanghaa commented Aug 18, 2024

@qanghaa qanghaa force-pushed the fix/incorrect_generate_model_names branch 2 times, most recently from 853d233 to 89c110b Compare August 18, 2024 07:58
Comment on lines 7 to 9
type Bonuse struct {
ID string
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This appears to still be wrong here?

Copy link
Contributor Author

@qanghaa qanghaa Oct 19, 2024

Choose a reason for hiding this comment

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

Ah sorry, I just deleted this one from PR 👍

@qanghaa qanghaa changed the title Fix incorrect generate model names for "bonuses" and "metadata" suffix Fix incorrect generate model names for "metadata" suffix Oct 19, 2024
@kyleconroy kyleconroy force-pushed the fix/incorrect_generate_model_names branch from 4072241 to 17fea60 Compare November 25, 2024 06:41
@kyleconroy kyleconroy merged commit 58674b4 into sqlc-dev:main Nov 25, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Table "product_metadata" incorrectly generates model name.
2 participants