File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
code-generator/src/main/kotlin/io/timemates/rsproto/codegen/services/client Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,17 @@ internal object ClientServiceApiGenerator {
15
15
.addParameter(" protobuf" , Types .protoBuf)
16
16
.build()
17
17
)
18
- .addProperty(PropertySpec .builder(" rsocket" , Types .rsocket).initializer(" rsocket" ).build())
19
- .addProperty(PropertySpec .builder(" protobuf" , Types .protoBuf).initializer(" protobuf" ).build())
18
+ .addProperty(
19
+ PropertySpec .builder(" rsocket" , Types .rsocket)
20
+ .addModifiers(KModifier .PRIVATE )
21
+ .initializer(" rsocket" )
22
+ .build()
23
+ )
24
+ .addProperty(
25
+ PropertySpec .builder(" protobuf" , Types .protoBuf)
26
+ .addModifiers(KModifier .PRIVATE )
27
+ .initializer(" protobuf" ).build()
28
+ )
20
29
.addFunctions(service.rpcs.map { mapRpc(it, service.name) })
21
30
.build()
22
31
}
You can’t perform that action at this time.
0 commit comments