message: Add soft warnings when using "ref" in an arrayProp
  prop(src): add soft warning when using "ref" in an arrayProp
  prop(src): add soft warning when using "refPath" in an arrayProp
diff: @@ -110,6 +110,11 @@ function baseProp(
  const ref = rawOptions.ref;
  const refType = rawOptions.refType || mongoose.Schema.Types.ObjectId;
  if (ref) {
  + if (whatis === WhatIsIt.ARRAY) {
  + logger.warn('"ref" is used in an arrayProp, which should not be used! (%s, %s)\n'
  + + 'Use "itemsRef"',
  + utils.getName(target), key);
  + }
  delete rawOptions.ref;
  const refName = typeof ref === 'string' ? ref : utils.getName(ref);
  schemas.get(name)[key] = {
  @@ -139,6 +144,11 @@ function baseProp(
  const refPath = rawOptions.refPath;
  if (refPath && typeof refPath === 'string') {
  + if (whatis === WhatIsIt.ARRAY) {
  + logger.warn('"refPath" is used in an arrayProp, which should not be used! (%s, %s)\n'
  + + 'Use "itemsRefPath"',
  + utils.getName(target), key);
  + }
  delete rawOptions.refPath;
  schemas.get(name)[key] = {
  ...schemas.get(name)[key],
  