protocolbuffers / protocolbuffers/protobuf-javascript
Camelcase is lost (Javascript protoc)
Aperta
@lukesandberg ci sta già lavorando.
Dal 24/5/2021.
bug
good first issue
javascript
protoc
triaged
- Lingua principale
- JavaScript
- Stelle
- 471
- Fork
- 91
- Merge medio
- 3h 57m
- PR unite (30g)
- 2
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.