mergeReadWritePropCache = (context, readOnlyPropCache, writeOnlyPropCache, currentPath = '') => {
    _.forOwn(readOnlyPropCache, (value, key) => {
      context.readOnlyPropCache[utils.mergeJsonPath(currentPath, key)] = true;
    });

    _.forOwn(writeOnlyPropCache, (value, key) => {
      context.writeOnlyPropCache[utils.mergeJsonPath(currentPath, key)] = true;
    });
  }
Merges provided readOnly writeOnly properties cache with existing cache present in context

@param {Object} context - Global context object
@param {Object} readOnlyPropCache - readOnly properties cache to be merged
@param {Object} writeOnlyPropCache - writeOnly properties cache to be merged
@param {Object} currentPath - Current path (json-pointer) being resolved relative to original schema
@returns {void}