We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ImplementationOnlyImports
1 parent f89859f commit 4ee05ebCopy full SHA for 4ee05eb
Sources/protoc-gen-swift/GeneratorOptions.swift
@@ -96,6 +96,9 @@ class GeneratorOptions {
96
case "ImplementationOnlyImports":
97
if let value = Bool(pair.value) {
98
implementationOnlyImports = value
99
+ } else {
100
+ throw GenerationError.invalidParameterValue(name: pair.key,
101
+ value: pair.value)
102
}
103
default:
104
throw GenerationError.unknownParameter(name: pair.key)
0 commit comments