Currently if a nested validator (created using withValidator or eachItemWith, etc... fires - it only reports the property name as it knows it so for some object like
{
a: {
Id: ""
b: {
Id: ""
c: {
Id: ""
}
}
}
it will report Id is empty (or equivalent), so for complex objects it is difficult to figure out that it was a.b.c.Id that was empty and not some other one.
Currently if a nested validator (created using
withValidator
oreachItemWith
, etc... fires - it only reports the property name as it knows it so for some object likeit will report
Id is empty
(or equivalent), so for complex objects it is difficult to figure out that it wasa.b.c.Id
that was empty and not some other one.What would be a good way to fix this?