common-workflow-language / common-workflow-language/common-workflow-language

Proposal: define types at top file level

Open
#124 0 comments 0 reactions 0 assignees View on GitHub
Unimplemented-Idea
Dominant language
Common Workflow Language
Stars
1.5k
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Allow users to define types at top level of files. Parameters can reference these in the `type` field.

Example:

```
- id: FooType
type: string
inputBinding:
prefix: "-o"

- id: BarTool
type: CommandLineTool
inputs:
- id: output
type: "#FooType"
```

This obsoletes SchemaDefRequirement.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the CWL specification and its SchemaDefRequirement definition to understand how top-level types and parameter type references are currently represented. Use the YAML example in the issue as the target behavior, and confirm that the new form makes SchemaDefRequirement obsolete without leaving type resolution ambiguous.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.