Skip to content

Commit 4830697

Browse files
committed
feat: add GenericCombinationStrategy enum and update GenericMapper to support multiple sources and combinations
1 parent 73d91ce commit 4830697

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

proto/shared/shared.data_type.proto

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,17 @@ message GenericType {
107107
}
108108

109109
// target get mapped to source
110+
enum GenericCombinationStrategy {
111+
AND = 0;
112+
OR = 1;
113+
}
114+
110115
message GenericMapper {
111116
// can point to another generic or to a resolved data type
112117
// Assigns source to this source
113-
DataTypeIdentifier source = 1;
118+
repeated DataTypeIdentifier source = 1;
114119
// can only be a generic key for example: 'T', 'V'
115120
string target = 2;
121+
122+
repeated GenericCombinationStrategy generic_combinations = 3;
116123
}

0 commit comments

Comments
 (0)