Closed RainbowZephyr closed 11 months ago
I currently don't have access to a computer to test, but I'm pretty sure you want to use https://athenaframework.org/Validator/Constraints/Valid/ on the array of objects, then use https://athenaframework.org/Validator/Constraints/All/ with NotBlank
for the array of strings.
See if that does it, and if not can go from there.
That does the trick, thank you so much :smile:
Hello, Firstly I would like thank you for such a wonderful repo, it has been used extensively at work. I am running into a bit of trouble however, from what I understand is that the recursive validator applies on nested objects. I have the following two objects:
If I turn the JSON below into a crystal object and validate it using recursive validator it does not spot the missing axes array
I am using the validator as follow:
Should I validate each nested object or is this behaviour wrong?
Thanks in advance