Skip to content

Add named unions for input/output parameter types - #309

Merged
mr-c merged 1 commit into
codegenfrom
add-input-union-types
Aug 15, 2026
Merged

mr-c merged 1 commit into
codegenfrom
add-input-union-types

Conversation

@GlassOfWhiskey

Copy link
Copy Markdown
Collaborator

Introduce named union types for the type field of input and output parameters:

  • InputParameterType and OutputParameterType (Process.yml), used by Workflow.yml and Operation.yml
  • CommandInputParameterType and CommandOutputParameterType (CommandLineTool.yml)

Move the stdin, stdout, and stderr enum definitions before CommandInputParameter and CommandOutputParameter so they are declared before being used.

Import CommonWorkflowLanguage.yml locally in extensions.yml instead of from the raw GitHub URL.

Introduce named union types for the `type` field of input and output
parameters:
- `InputParameterType` and `OutputParameterType` (Process.yml), used by
  Workflow.yml and Operation.yml
- `CommandInputParameterType` and `CommandOutputParameterType`
  (CommandLineTool.yml)

Move the `stdin`, `stdout`, and `stderr` enum definitions before
`CommandInputParameter` and `CommandOutputParameter` so they are
declared before being used.

Import `CommonWorkflowLanguage.yml` locally in extensions.yml instead of
from the raw GitHub URL.
@GlassOfWhiskey
GlassOfWhiskey requested a review from mr-c August 15, 2026 14:46
@GlassOfWhiskey
GlassOfWhiskey marked this pull request as ready for review August 15, 2026 14:46
@mr-c
mr-c merged commit 2223cc7 into codegen Aug 15, 2026
2 checks passed
@mr-c
mr-c deleted the add-input-union-types branch August 15, 2026 15:03
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

Successfully merging this pull request may close these issues.

2 participants