Hi Isomorphic,
can you show and best also document the inSet version of this slightly modified sample code here in the validator.applyWhen docs:
AdvancedCriteria definition in DSRequestModifier docs is different (with e.g. _constructor="AdvancedCriteria" and different casing for criterion / Criterion:
Is this on purpose?
Can you also show an example using dates, e.g. nextShipment >= 2019-12-31 or even datetimes?
It's not easy to guess what is expected here in all these cases.
Thank you & Best regards
Blama
can you show and best also document the inSet version of this slightly modified sample code here in the validator.applyWhen docs:
Code:
<validator type="integerRange" min="0" max="100"> <applyWhen operator="or"> <criteria> <criterion fieldName="gender" operator="equals" value="male"/> <criterion fieldName="gender" operator="equals" value="female"/> </criteria> </applyWhen> </validator>
Code:
<criteria _constructor="AdvancedCriteria" operator="or"> <criteria> <Criterion fieldName="lifeSpan" operator="greaterThan" value="10" /> <Criterion fieldName="scientificName" operator="contains" value="Octopus" /> </criteria> </criteria>
Can you also show an example using dates, e.g. nextShipment >= 2019-12-31 or even datetimes?
It's not easy to guess what is expected here in all these cases.
Thank you & Best regards
Blama
Comment