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

Scaffolding messages with same name leads to aliasing #3327

Closed
aljo242 opened this issue Dec 19, 2022 · 0 comments · Fixed by #3341
Closed

Scaffolding messages with same name leads to aliasing #3327

aljo242 opened this issue Dec 19, 2022 · 0 comments · Fixed by #3341
Labels
component:scaffold Feature, enhancement, or refactor related to scaffolding. type:bug Something isn't working

Comments

@aljo242
Copy link
Contributor

aljo242 commented Dec 19, 2022

ignite scaffold message createPost title body -> msg_server_create_post.go
ignite scaffold message createpost title body -> msg_server_createpost.go

The proper behavior should be that the second message will fail.

createPost is being treated as two words "create" and "post" because of the uppercase P.
createpost is being treated as one word "createpost" because there are no uppercase letters.

@aljo242 aljo242 added type:bug Something isn't working component:scaffold Feature, enhancement, or refactor related to scaffolding. labels Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:scaffold Feature, enhancement, or refactor related to scaffolding. type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant