Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation rules: Add OR logic #2365

Open
davidzbiral opened this issue Oct 3, 2024 · 0 comments
Open

Validation rules: Add OR logic #2365

davidzbiral opened this issue Oct 3, 2024 · 0 comments
Assignees
Labels
validation validation features
Milestone

Comments

@davidzbiral
Copy link
Collaborator

davidzbiral commented Oct 3, 2024

We sometimes need to require users to:

  • reference Resource A or Resource B - any will do, but at least one ref. to either Resource A or B is required;
  • either property occupation or property office - any of the two is OK.
    This requires to include, into each rule, the possibility of multiple values in OR logic.
    A complication is properties, which have an OR already on propvalues, so what it means to put an OR on the proptype too - I guess that the correct solution is that any combination of proptype and propvalue stated here passes the test.

Add this OR also to the textual description of the rule that the app builds for the users (such as "Any Action must have a reference to Resource WordNet 3.0 Synset IDs.").

@davidzbiral davidzbiral added the validation validation features label Oct 3, 2024
@davidzbiral davidzbiral added this to the 1.4.2 milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validation validation features
Projects
None yet
Development

No branches or pull requests

2 participants