-
Hi, Just had a quick question about how/where the names are processed. I ran a proto file through and single word field names were preserved but field names such as "GO_NUMBER" were converted to "goNumber". |
Beta Was this translation helpful? Give feedback.
Answered by
stephenh
Aug 6, 2022
Replies: 1 comment 1 reply
-
Hi @KNadwit , the code for this is here: https://github.com/stephenh/ts-proto/blob/main/src/case.ts#L3 But maybe you want to just set |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
KNadwit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @KNadwit , the code for this is here:
https://github.com/stephenh/ts-proto/blob/main/src/case.ts#L3
But maybe you want to just set
snakeToCamel
tofalse
? (See the readme for the--ts_proto_opt
flag toprotoc
)