lib/boot/refs/first-pass/index.js
function firstPass (loadedComponents, messages) {
  messages.heading('Reference resolution - first pass')

  const components = loadedComponents.blueprintComponents
  const tymlyRefs = loadedComponents.blueprintRefs

  const resolutions = findFirstPassResolutions(tymlyRefs, components)

  if (!resolutions) {
    messages.subHeading('Nothing to resolve')
    return
  }

  resolveResolutions(resolutions, components, messages)
}
function firstPass (loadedComponents, messages) {
  messages.heading('Reference resolution - first pass')

  const components = loadedComponents.blueprintComponents
  const tymlyRefs = loadedComponents.blueprintRefs

  const resolutions = findFirstPassResolutions(tymlyRefs, components)

  if (!resolutions) {
    messages.subHeading('Nothing to resolve')
    return
  }

  resolveResolutions(resolutions, components, messages)
}
function firstPass ( loadedComponents , messages ) { messages . heading ( 'Reference resolution - first pass' ) const components = loadedComponents . blueprintComponents const tymlyRefs = loadedComponents . blueprintRefs const resolutions = findFirstPassResolutions ( tymlyRefs , components ) if ( ! resolutions ) { messages . subHeading ( 'Nothing to resolve' ) return } resolveResolutions ( resolutions , components , messages ) }
First pass through the references. None of the services have yet been booted, but we can resolve static references
First pass through the references . None of the services have yet been booted but we can resolve static references