Skip to content

Update the Run commands to reflect Spec changes #249

@mrsimonemms

Description

@mrsimonemms

What happened:
The spec recently changed to make the run.script and run.container more sensible (which I approve of) - serverlessworkflow/specification#1129

The SDK doesn't match this

What you expected to happen:

In the task:

  • Script.Arguments to be []any
  • Script.STDIn (or similarly named) does not exist
  • Arguably, a validation to ensure Script.Language is only python or javascript
  • Container.Arguments doesn't exist
  • Container.STDIn (or similarly named) does not exist
  • probably a couple other changes I've missed

How to reproduce it:

Anything else we need to know?:

Environment:

  • Specification version used:
  • Go version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions