Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there should not be a default field in WorkflowOutputParameter #3

Open
jrandall opened this issue Jan 20, 2022 · 1 comment
Open

there should not be a default field in WorkflowOutputParameter #3

jrandall opened this issue Jan 20, 2022 · 1 comment

Comments

@jrandall
Copy link

The WorkflowOutputParameter struct includes a default field (

pub default: Option<YValue>,
) but there does not appear to be a default field documented in the v1.1 specification for WorkflowOutputParameter: https://www.commonwl.org/v1.1/Workflow.html#WorkflowOutputParameter

@mr-c
Copy link
Contributor

mr-c commented Jan 20, 2022

FYI, https://github.com/common-workflow-language/schema_salad/ has a code generation feature that is used to generate similar codebases from the CWL schema itself. This project could be used as inspiration to implement schema-salad-tool --codegen rust, just as was recently done for Typescript (and Java before that). Let me know and I'll be happy to assist! Though I know nothing about Rust itself :-)

The big advantage is that supporting newer version of the CWL standards is then as simple as re-running schema-salad-tool --codegen rust against the new CWL schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants