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

Camel case support #78

Closed
SilverSheep opened this issue Aug 2, 2021 · 4 comments
Closed

Camel case support #78

SilverSheep opened this issue Aug 2, 2021 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@SilverSheep
Copy link

Now plugin outputs class getters and setters with the same name as in proto files.

It will be nice to have option to generate camelCase fields.

For instance for proto:

syntax = "proto3";

message Change {
    string long_name = 1;
}

have generated class:


export class Change {
			// omitted lines... 
   get longName() {
			// omitted lines... 
}
@thesayyn thesayyn added enhancement New feature or request help wanted Extra attention is needed labels Aug 6, 2021
@thesayyn
Copy link
Owner

Hey.

Seems like this could be useful for the users.

I could point you in the right direction if you’d like to contribute.

@SilverSheep
Copy link
Author

@thesayyn Why not? It was some time ago since I made the change in my project. I must recall what changes I commited and I'll let you know

@SilverSheep
Copy link
Author

As I see there is already a pull request:
#89

@thesayyn thesayyn added this to the 1.0 milestone Dec 3, 2021
@thesayyn
Copy link
Owner

thesayyn commented Jul 9, 2022

fixed at #142 and released in 0.8.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants