From 24f722d39fc9b669554967ff6e74c99138d24261 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 27 Nov 2025 00:52:18 +0000 Subject: workflow: Add defaults to inputs even with Workflow class workflows. Earlier, we were adding defaults only with CommandLineTool class workflows, and ignoring defaults in Workflow class workflows. --- .../command-line-tool-step-with-optional-and-required-inputs.scm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm (limited to 'e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm') diff --git a/e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm b/e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm new file mode 100644 index 0000000..e6d0478 --- /dev/null +++ b/e2e-tests/tools/command-line-tool-step-with-optional-and-required-inputs.scm @@ -0,0 +1,8 @@ +(define echo + (command #:inputs (message1 #:type string) (message2 #:type string + #:default "Hello world!") + #:run "echo" message1 message2 + #:outputs (output_message #:type stdout))) + +(workflow ((message #:type string)) + (echo #:message1 message)) -- cgit 1.4.1