-
Notifications
You must be signed in to change notification settings - Fork 254
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
Only convert struct names to camel case for Call variant structs #412
Conversation
I have a question for there. Why convert struct names to snake case for Call variant structs? This is not rust code style |
|
Currently, All Call variant structs generated use snake case. it's ugly.
|
This is a bug, they should be |
…itytech#412) * Only convert struct names to camel case for `Call` variant structs * Use Cow for transform fn * Use as_ref
Fixes #410.
Unfortunately there are no tests (yet) for the
Call
struct codegen from variants so that aspect is not tested here.