Skip to content

Conditional Requirements #57

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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