Commit 851cb81d authored by Thomas Van Lenten's avatar Thomas Van Lenten Committed by GitHub

Merge pull request #2429 from thomasvl/issue1833_swift_prefix

Add a swift_prefix file option.
parents 39f9b432 f813bd9f
This diff is collapsed.
This diff is collapsed.
......@@ -366,6 +366,12 @@ message FileOptions {
// Namespace for generated classes; defaults to the package.
optional string csharp_namespace = 37;
// By default Swift generators will take the proto package and CamelCase it
// replacing '.' with underscore and use that to prefix the types/symbols
// defined. When this options is provided, they will use this value instead
// to prefix the types/symbols defined.
optional string swift_prefix = 39;
// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment