File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Plugins/GRPCProtobufGenerator Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -191,14 +191,14 @@ extension BuildPluginConfig.Protoc: Codable {
191
191
192
192
extension GenerationConfig {
193
193
init ( buildPluginConfig: BuildPluginConfig , configFilePath: URL , outputPath: URL ) {
194
- self . server = buildPluginConfig. generate. servers
195
- self . client = buildPluginConfig. generate. clients
196
- self . message = buildPluginConfig. generate. messages
194
+ self . servers = buildPluginConfig. generate. servers
195
+ self . clients = buildPluginConfig. generate. clients
196
+ self . messages = buildPluginConfig. generate. messages
197
197
// Use path to underscores as it ensures output files are unique (files generated from
198
198
// "foo/bar.proto" won't collide with those generated from "bar/bar.proto" as they'll be
199
199
// uniquely named "foo_bar.(grpc|pb).swift" and "bar_bar.(grpc|pb).swift".
200
200
self . fileNaming = . pathToUnderscores
201
- self . visibility = buildPluginConfig. generatedSource. accessLevel
201
+ self . accessLevel = buildPluginConfig. generatedSource. accessLevel
202
202
self . accessLevelOnImports = buildPluginConfig. generatedSource. accessLevelOnImports
203
203
// Generate absolute paths for the imports relative to the config file in which they are specified
204
204
self . importPaths = buildPluginConfig. protoc. importPaths. map { relativePath in
You can’t perform that action at this time.
0 commit comments