How to validate nested data following Apigility way?
diwms opened this issue · 3 comments
diwms commented
Hi. I have one small question about validating nested json data. For example, I have similar PATCH request as this:
{
"awesome": "yes",
"myObject": {
"some_property": "Text Example value",
"another_property": "1965"
}
}
What is the proper and maybe correct way to set filters and validators for this fields some_property and another_property ?
Thanks a lot for answers
diwms commented
Ok. Thanks
nobesnickr commented
Was this answered? If so can you post the answer or reference? I have a similar question I am researching
Wilt commented
Check for similar questions and answers to such questions also StackOverflow under the Apigility
tag
I regularly check the posts and try to answer them if possible.
Here also a link t one of my answers to a similar question about nested data in a InputFilter
which might help you: http://stackoverflow.com/a/29674672/1697459