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

Handle union types in Format2 Schema #76

Merged
merged 5 commits into from
Jun 22, 2024
Merged

Handle union types in Format2 Schema #76

merged 5 commits into from
Jun 22, 2024

Conversation

davelopez
Copy link
Owner

Some elements in the gxformat2 schema can have multiple different types. For example, the out field of a WorkflowStep can be either of type string or WorkflowStepOutput.

https://github.com/galaxyproject/gxformat2/blob/785cd40aeb308a2bcec836b40aa71a3169fbf1d9/schema/v19_09/workflow.yml#L178

This PR will handle those union types and try to match them during schema node resolution, validation, and item completion.

@davelopez davelopez added the enhancement New feature or request label Jun 22, 2024
@davelopez davelopez added this to the v0.5.0 milestone Jun 22, 2024
@davelopez davelopez merged commit 41e9ed6 into main Jun 22, 2024
4 checks passed
@davelopez davelopez deleted the handle_union_types branch June 22, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant