Skip to content

add_requirement can't be called before the output is defined #6178

@abadams

Description

@abadams

If you put an add_requirement at the top of the generate method, you get the very confusing error "Output "foo" was not defined."

Took me a while to figure out what was wrong. We should either give a better error, or make it possible to add requirements earlier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions