Access Root node in custom validation #1431
Labels
flag: needs discussion
Issues which needs discussion before implementation.
type: feature
Issues related to new features.
Inline with similar requests such as https://github.com/typestack/class-validator/pull/36
In cases where child/nested object requires a parent value for it's validation
I suggest adding root Object to validation function :
It is a relatively simple change on ValidationExecutor that I do not identify and issues with
From root object one can find any direct parent, as root contains the validate function ValidationArguments object
The text was updated successfully, but these errors were encountered: