@justworkflowit/cdk-constructs 0.0.315 → 0.0.316
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.
|
@@ -75,8 +75,11 @@ class JustWorkflowItConstructs extends constructs_1.Construct {
|
|
|
75
75
|
return acc;
|
|
76
76
|
}, {});
|
|
77
77
|
// Configure json-schema-faker to always generate optional fields for thorough validation
|
|
78
|
+
// Note: requiredOnly must be explicitly reset because the engine's two-pass validation
|
|
79
|
+
// sets it to true globally during its second pass, which persists across definitions
|
|
78
80
|
json_schema_faker_1.JSONSchemaFaker.option({
|
|
79
81
|
alwaysFakeOptionals: true,
|
|
82
|
+
requiredOnly: false,
|
|
80
83
|
});
|
|
81
84
|
fakeWorkflowInputForTypeValidation = json_schema_faker_1.JSONSchemaFaker.generate(parsedWorkflow.definitions.workflowInput, jsonSchemaFakerRefs);
|
|
82
85
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justworkflowit/cdk-constructs",
|
|
3
3
|
"description": "AWS CDK construct for integrating with the JustWorkflowIt platform",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.316",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justworkflowit/JustWorkflowItCDKConstructs"
|