Skip to content

Flow Params can be missing #244

Open

Description

@JLSteenwyk

[REQUIRED] Describe the bug
When registering a workflow on the SDK, there is a check that all arguments have metadata Latch parameters. This is super helpful. However, when using Sections and Flow, Params can be missing and then will not be part of the workflow interface.

[REQUIRED] To Reproduce
Test out removing a Param.
For example, consider this flow that accounts for all parameters:
flow=[ Section( "Input/Output", Params( "input", "output", ), ), ]

Then, if "input" is removed:
flow=[ Section( "Input/Output", Params( "output", ), ), ]

Then the workflow interface will not have a place to specify the input.

[REQUIRED] Expected behavior
It would be awesome if an error were thrown during registration if a Param is missing in the flow Section.

[REQUIRED] Platform Information

  • macOS Monterey 12.5.1
  • Chrome: Version 111.0.5563.110
  • Latch, version 2.15.0

Activity

  1. added
    bug
    on Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions