Skip to content
This repository was archived by the owner on Dec 3, 2021. It is now read-only.
This repository was archived by the owner on Dec 3, 2021. It is now read-only.

Fix validation errors for workflows where generics and annotations don't correspond #33

Description

@fsteeg

In some workflows, the @In and @Out annotations do no correspond to the actual types, e.g.:

as-lines | // produces String
catch-object-exception | // consumes T, produces T -- but @Out says Object
decode-pica | // consumes String

Validation for this workflow fails, since decode-pica expects String but catch-object-exception declares that it produces Object.

I'm not sure how to approach this. Should this be solved by more advanced validation (look at the previous command or something), or would it be more appropriate to change something about the annotations (since by their annotations catch-object-exception and decode-pica are not compatible)?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions