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.
1 parent 37f1872 commit 08270b5Copy full SHA for 08270b5
Sources/SwiftProtobuf/Message+FieldMask.swift
@@ -34,7 +34,13 @@ extension Message {
34
}
35
36
37
+/// Defines available options for merging two messages.
38
public enum MergeOption: Equatable {
39
+
40
+ /// The default merging behavior will append entries from the source
41
+ /// repeated field to the destination repeated field. If you only want
42
+ /// to keep the entries from the source repeated field, set this flag
43
+ /// to true.
44
case replaceRepeatedFields
45
46
0 commit comments