function collectNestedValidationResults (validations, nestedState, path, resultsCache, config, instance, nestedExternalResults) {
  const nestedValidationKeys = Object.keys(validations)

  // if we have no state, return empty object
  if (!nestedValidationKeys.length) return {}

  return nestedValidationKeys.reduce((results, nestedKey) => {
    // build validation results for nested state
    results[nestedKey] = setValidations({
      validations: validations[nestedKey],
      state: nestedState,
      key: nestedKey,
      parentKey: path,
      resultsCache,
      globalConfig: config,
      instance,
      externalResults: nestedExternalResults
    })
    return results
  }, {})
}
Collects the validation results of all nested state properties
@param {Object<NormalizedValidator|Function>} validations - The validation
@param {Object} nestedState - Current state
@param {String} path - Path to current property
@param {ResultsStorage} resultsCache - Validations cache map
@param {GlobalConfig} config - The config object
@param {VueInstance} instance - The current Vue instance
@param {ComputedRef<object>} nestedExternalResults - The external results for this nested collection
@return {Object<string, VuelidateState>}