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 {
191191
192192extension GenerationConfig {
193193 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
197197 // Use path to underscores as it ensures output files are unique (files generated from
198198 // "foo/bar.proto" won't collide with those generated from "bar/bar.proto" as they'll be
199199 // uniquely named "foo_bar.(grpc|pb).swift" and "bar_bar.(grpc|pb).swift".
200200 self . fileNaming = . pathToUnderscores
201- self . visibility = buildPluginConfig. generatedSource. accessLevel
201+ self . accessLevel = buildPluginConfig. generatedSource. accessLevel
202202 self . accessLevelOnImports = buildPluginConfig. generatedSource. accessLevelOnImports
203203 // Generate absolute paths for the imports relative to the config file in which they are specified
204204 self . importPaths = buildPluginConfig. protoc. importPaths. map { relativePath in
You can’t perform that action at this time.
0 commit comments