-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersjavascriptprotoctriagedIssue has been triagedIssue has been triaged
Description
What version of protobuf and what language are you using?
3.16.0 (Linux x86_64)
Javascript
Operation system
Ubuntu 18.04
What runtime / compiler are you using (e.g., python version or gcc version)
What did you do?
Create proto file (syntax 3)
syntax = "proto3";
message Test {
string someFieldWithCamelCase = 1;
}
run
protoc --js_out=import_style=commonjs,binary:out test.proto
Got
proto.Test.prototype.setSomefieldwithcamelcase = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
What did you expect to see
proto.Test.prototype.setSomeFieldWithCamelCase = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
What did you see instead?
Camelcase is lost
petermetz, nadilas, dbollinger, vitalygashkov and SmashPlusUltrapetermetz, k10-patil, vitalets, nadilas and kakyoism
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersjavascriptprotoctriagedIssue has been triagedIssue has been triaged