Commit e6f6209
authored
## What is the goal of this PR?
`is_root` and `is_abstract` are now snake cased in `Type`.
## What are the changes implemented in this PR?
Protobuf convention is to use snake case. The casing affects the
generated code. gRPC Java has been written with fallback logic to handle
camelCase, but Python and Node.js do not.
Before this change, we generated the following TypeScript code:
```ts
export class Type extends jspb.Message {
getIsroot(): boolean;
setIsroot(value: boolean): Type;
getIsabstract(): boolean;
setIsabstract(value: boolean): Type;
```
After the change, these become `getIsRoot`, `setIsAbstract`, etc.
1 parent 16d1fb6 commit e6f6209
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
| 311 | + | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
0 commit comments