import {Instantiable, PropertyDependency} from '../types' import {Collection, logIfDebugging} from '../../util' import {propertyInjectionMetadata} from './propertyInjectionMetadata' export function getPropertyInjectionMetadata(token: Instantiable): Collection { const loadedMeta = ((token as any)[propertyInjectionMetadata] || new Collection()) as Collection logIfDebugging('extollo.di.injection', 'getPropertyInjectionMetadata() target:', token, 'loaded:', loadedMeta) return loadedMeta }