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

Add 'oneOf' parameter into descriptor #134

Open
MiaInturi opened this issue Dec 21, 2023 · 0 comments · May be fixed by #181
Open

Add 'oneOf' parameter into descriptor #134

MiaInturi opened this issue Dec 21, 2023 · 0 comments · May be fixed by #181
Assignees
Labels
enhancement New feature or request [email protected] issues for [email protected]

Comments

@MiaInturi
Copy link
Collaborator

Logic for descriptor value too complicated, because value can be standalone and can be array of elements. It become the cause of many questions and incomprehensibility.
Need to refactor this logic to more clear. When we want to value being standalone we using oneOf: false, when we want to value being array of elements we using oneOf: true. When value is not possible to exists (e.g. when checkMode = 'exists') we using oneOf: 'off'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request [email protected] issues for [email protected]
Projects
None yet
1 participant