Skip to content

Conditional Requirements #57

@jaredoconnell

Description

@jaredoconnell

Please describe what you would like to see in this project

It would be useful in some situations to have annotations specify if a field is required if another field matches a specific value or set of values. This would, for example, allow setting a timeout value if wait is set to true.

Please describe your use case

I have a wait field that has a matching timeout field. The timeout does nothing when wait is false, so defining this relationship in the typing would be beneficial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions