Skip to content

Allow template refs to validate against original WorkflowTemplate #1448

Description

@elliotgunton

Is your feature request related to a problem? Please describe.
TemplateRefs do not do any validation on the input parameters, so you will only find out when linting or submitting the workflow.

Describe the solution you'd like

  • Generate stubs (through the CLI) to use them in the same way as for decorator-based workflows.

Describe alternatives you've considered

  • Something like a new custom TemplateRef Hera class to create the stubs manually

Additional context
Add any other context or screenshots about the feature request here.

  • Pulling out the "stub gen" part of the Hera CLI design #670
  • Will expand on the implementation details when I have time

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    note:needs-infoWe need more info from the issue submittertype:enhancementA general enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions