File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change @@ -567,8 +567,9 @@ $graph:
567567 _id : cwl:default
568568 noLinkCheck : true
569569 doc : |
570- The default value for this parameter if not provided in the input
571- object.
570+ The default value to use for this parameter if the parameter is missing
571+ from the input object, or if the value of the parameter in the input
572+ object is `null`.
572573
573574 - name : type
574575 type :
@@ -648,6 +649,13 @@ $graph:
648649 values. Input parameters include a schema for each parameter which is
649650 used to validate the input object. It may also be used to build a user
650651 interface for constructing the input object.
652+
653+ When accepting an input object, all input parameters must have a value.
654+ If an input parameter is missing from the input object, it must be
655+ assigned a value of `null` (or the value of `default` for that
656+ parameter, if provided) for the purposes of validation and evaluation
657+ of expressions.
658+
651659 - name : outputs
652660 type :
653661 type : array
Original file line number Diff line number Diff line change @@ -260,8 +260,8 @@ $graph:
260260 - name : default
261261 type : ["null", Any]
262262 doc : |
263- The default value for this parameter if there is no `source`
264- field.
263+ The default value for this parameter to use if either there is no
264+ `source` field, or the value produced by the `source` is `null` .
265265 jsonldPredicate :
266266 _id : " cwl:default"
267267 noLinkCheck : true
Original file line number Diff line number Diff line change @@ -568,8 +568,9 @@ $graph:
568568 _id : cwl:default
569569 noLinkCheck : true
570570 doc : |
571- The default value for this parameter if not provided in the input
572- object.
571+ The default value to use for this parameter if the parameter is missing
572+ from the input object, or if the value of the parameter in the input
573+ object is `null`.
573574
574575 - name : RegularInputParameter
575576 type : record
@@ -653,6 +654,13 @@ $graph:
653654 values. Input parameters include a schema for each parameter which is
654655 used to validate the input object. It may also be used to build a user
655656 interface for constructing the input object.
657+
658+ When accepting an input object, all input parameters must have a value.
659+ If an input parameter is missing from the input object, it must be
660+ assigned a value of `null` (or the value of `default` for that
661+ parameter, if provided) for the purposes of validation and evaluation
662+ of expressions.
663+
656664 - name : outputs
657665 type :
658666 type : array
Original file line number Diff line number Diff line change @@ -266,8 +266,8 @@ $graph:
266266 - name : default
267267 type : ["null", Any]
268268 doc : |
269- The default value for this parameter if there is no `source`
270- field.
269+ The default value for this parameter to use if either there is no
270+ `source` field, or the value produced by the `source` is `null` .
271271 jsonldPredicate :
272272 _id : " cwl:default"
273273 noLinkCheck : true
You can’t perform that action at this time.
0 commit comments