@trayio/cdk-dsl 4.29.0 → 4.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -73,7 +73,7 @@ class OperationHandlerConfiguration {
|
|
|
73
73
|
const currentValidation = O.getOrElse(() => OperationHandlerValidation_1.OperationHandlerValidation.emptyValidation())(this.validation);
|
|
74
74
|
const inputValidation = inputValidationSetup(new OperationHandlerValidation_1.OperationHandlerInputValidationConditionConfiguration());
|
|
75
75
|
const newValidation = currentValidation.addInputValidation(inputValidation);
|
|
76
|
-
return new OperationHandlerConfiguration(this.name, this.handlerType, this.isPrivate, O.some(newValidation),
|
|
76
|
+
return new OperationHandlerConfiguration(this.name, this.handlerType, this.isPrivate, O.some(newValidation), this.globalConfiguration);
|
|
77
77
|
}
|
|
78
78
|
withGlobalConfiguration(operationGlobalConfig) {
|
|
79
79
|
return new OperationHandlerConfiguration(this.name, this.handlerType, this.isPrivate, this.validation, O.some(operationGlobalConfig));
|
|
@@ -82,7 +82,7 @@ class OperationHandlerConfiguration {
|
|
|
82
82
|
const currentValidation = O.getOrElse(() => OperationHandlerValidation_1.OperationHandlerValidation.emptyValidation())(this.validation);
|
|
83
83
|
const outputValidation = outputValidationSetup(new OperationHandlerValidation_1.OperationHandlerOutputValidationConditionConfiguration());
|
|
84
84
|
const newValidation = currentValidation.addOutputValidation(outputValidation);
|
|
85
|
-
return new OperationHandlerConfiguration(this.name, this.handlerType, this.isPrivate, O.some(newValidation),
|
|
85
|
+
return new OperationHandlerConfiguration(this.name, this.handlerType, this.isPrivate, O.some(newValidation), this.globalConfiguration);
|
|
86
86
|
}
|
|
87
87
|
usingHttp(httpSetup) {
|
|
88
88
|
return new OperationHandler(this.name, this.handlerType, this.isPrivate, this.validation, httpSetup(new HttpOperationHandler_1.HttpOperationHandlerConfiguration()), this.globalConfiguration);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trayio/cdk-dsl",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.30.0",
|
|
4
4
|
"description": "A DSL for connector development",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": "./dist/*.js"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@trayio/commons": "4.
|
|
17
|
+
"@trayio/commons": "4.30.0"
|
|
18
18
|
},
|
|
19
19
|
"typesVersions": {
|
|
20
20
|
"*": {
|