Skip to content

Commit bedd422

Browse files
committed
feat: add additional datatypes #359
1 parent 1994119 commit bedd422

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

internal/client/integrations/integrations.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,6 +1588,12 @@ func GetInputParameters(integrationBody []byte) (execConfig []byte, err error) {
15881588
inputParameters = append(inputParameters, fmt.Sprintf("\"%s\": {\"booleanValue\": false}", p.Key))
15891589
case "JSON_VALUE":
15901590
inputParameters = append(inputParameters, fmt.Sprintf("\"%s\": {\"jsonValue\": {}}", p.Key))
1591+
case "DOUBLE_TPYE":
1592+
inputParameters = append(inputParameters, fmt.Sprintf("\"%s\": {\"doubleValue\": 0.0}", p.Key))
1593+
case "INT_ARRAY":
1594+
inputParameters = append(inputParameters, fmt.Sprintf("\"%s\": {\"intArray\": {\"intValues\": [0]}}", p.Key))
1595+
case "STRING_ARRAY":
1596+
inputParameters = append(inputParameters, fmt.Sprintf("\"%s\": {\"stringArray\": {\"stringValues\":[\"\"]}}", p.Key))
15911597
}
15921598
}
15931599
}

0 commit comments

Comments
 (0)