capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
80 stars 19 forks source link

Validate input parameters names on Implementation manifest #580

Closed mszostok closed 2 years ago

mszostok commented 2 years ago

Description

Validate that Implementation that implements a given Interface uses a proper naming for input Parameters and TypeInstances.

Acceptance Criteria

Validate that Implementation under workflow inputs uses only:

Reason

It's easy to introduce bug into Hub manfiests. We already had such situation:

As you can see, Interface requires input parameter as input-parameters but Implementation injects user-input. The naming doesn't match and manifest cannot be rendered.

Use cases