src/Validator.js
/**
    Validate 'related' fields if specified
    and related validation allowed (recursive)
  */
Validate 'related' fields if specified
and related validation allowed (recursive)
Validate ' related ' fields if specified and related validation allowed ( recursive )
relatedFieldValidation(field, showErrors) {
    if (!field.related || !field.related.length) return;
    _.each(field.related, path =>
      this.validateField({
        related: false,
        showErrors,
        path,
      }));
  }
relatedFieldValidation ( field , showErrors ) { if ( ! field . related || ! field . related . length ) return ; _ . each ( field . related , path => this . validateField ( { related : false , showErrors , path , } ) ) ; }
Validate 'related' fields if specified
and related validation allowed (recursive)
Validate ' related ' fields if specified and related validation allowed ( recursive )