Skip to content

Commit 9536932

Browse files
committed
fix merge
1 parent efb4100 commit 9536932

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Plugins/GRPCProtobufGenerator/BuildPluginConfig.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,14 @@ extension BuildPluginConfig.Protoc: Codable {
191191

192192
extension 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

0 commit comments

Comments
 (0)