Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proto/shared/shared.data_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ message DataType {
// Rules of the data type (e.g. Regex, contains...)
repeated DataTypeRule rules = 4;
// Optional identifier it the given data type is a child of another
optional string parent_type_identifier = 5;
optional DataTypeIdentifier parent_type = 5;
// List of generic keys
repeated string generic_keys = 6;
}
Expand Down
13 changes: 8 additions & 5 deletions proto/shared/shared.runtime_function.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ import "shared.data_type.proto";
import "shared.struct.proto";

message FunctionGenericMapper {
// can point to another generic or to a resolved data type
DataTypeIdentifier source = 1;
// can only be a generic key
string target = 2;
optional string parameter_id = 3;
// can point to another generic or to a resolved data type
repeated DataTypeIdentifier source = 1;
// can only be a generic key
string target = 2;

repeated shared.GenericMapper.GenericCombinationStrategy generic_combinations = 3;

optional string parameter_id = 4;
}

// Definition of a function used for execution
Expand Down