You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If access = true option1 and option2 need to be there, if access is false those keys are optional. Actually they are useless, so not necessary.
I guess it doesn't have to be optional perhaps I could use ignore_extra_keys if access is false.
Can this be done. I have tried a bunch of things and no luck yet.
The text was updated successfully, but these errors were encountered:
I would like to make some keys Optional based on the value of another key. For example:
If access = true option1 and option2 need to be there, if access is false those keys are optional. Actually they are useless, so not necessary.
I guess it doesn't have to be optional perhaps I could use ignore_extra_keys if access is false.
Can this be done. I have tried a bunch of things and no luck yet.
The text was updated successfully, but these errors were encountered: