code: function findRefObject (ref, components) {
    const [ typeAndName, jsonSelector ] = typeNamePath(ref)
  
    const [ , refObj ] = findComponent(
      typeAndName,
      components,
      jsonSelector
    )
  
    if (!refObj) {
      return findRefObjectsByWildcard(typeAndName, components)
    }
  
    return refObj
  }
docs: resolveResolutions