trackPageDependencies(result, pageDependencies = {}) {
    const { path, connectionType, track = true } = pageDependencies
    if (path && track) {
      if (connectionType) {
        this.createPageDependency({ path, connection: connectionType })
      } else {
        const nodes = isIterable(result) ? result : [result]
        for (const node of nodes) {
          if (node) {
            this.createPageDependency({ path, nodeId: node.id })
          }
        }
      }
    }

    return result
  }
Given a result, that's either a single node or an array of them, track them
using pageDependencies. Defaults to tracking according to current resolver
path. Returns the result back.

@param {Node | Node[]} result
@param {PageDependencies} [pageDependencies]
@returns {Node | Node[]}