File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -113,22 +113,21 @@ export function optionsFromParameter(parameter: string): Options {
113
113
options . returnObservable = true ;
114
114
}
115
115
}
116
+ // Even if not using grpc-web/nestJs output
117
+ if ( parameter . includes ( 'addGrpcMetadata=true' ) ) {
118
+ options . addGrpcMetadata = true ;
119
+ }
116
120
if ( parameter . includes ( 'exportCommonSymbols=false' ) ) {
117
121
options . exportCommonSymbols = false ;
118
122
}
119
123
120
124
if ( parameter . includes ( 'nestJs=true' ) ) {
121
125
options . nestJs = true ;
122
-
123
126
options . lowerCaseServiceMethods = true ;
124
127
options . outputEncodeMethods = false ;
125
128
options . outputJsonMethods = false ;
126
129
options . outputClientImpl = false ;
127
130
options . useDate = false ;
128
-
129
- if ( parameter . includes ( 'addGrpcMetadata=true' ) ) {
130
- options . addGrpcMetadata = true ;
131
- }
132
131
if ( parameter . includes ( 'addNestjsRestParameter=true' ) ) {
133
132
options . addNestjsRestParameter = true ;
134
133
}
You can’t perform that action at this time.
0 commit comments