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. --- e2e-tests/tools/workflow-with-default-input.scm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 e2e-tests/tools/workflow-with-default-input.scm (limited to 'e2e-tests/tools/workflow-with-default-input.scm') diff --git a/e2e-tests/tools/workflow-with-default-input.scm b/e2e-tests/tools/workflow-with-default-input.scm new file mode 100644 index 0000000..7f1a671 --- /dev/null +++ b/e2e-tests/tools/workflow-with-default-input.scm @@ -0,0 +1,8 @@ +(define echo + (command #:inputs (message #:type string) + #:run "echo" message + #:outputs (output_message #:type stdout))) + +(workflow ((message #:type string + #:default "Hello world!")) + (echo #:message message)) -- cgit 1.4.1