MCPcopy
hub / github.com/loopbackio/loopback-next / describe

Function describe

packages/context/src/resolution-session.ts:298–305  ·  view source on GitHub ↗
(e: ResolutionElement)

Source from the content-addressed store, hash-verified

296}
297
298function describe(e: ResolutionElement) {
299 switch (e.type) {
300 case 'injection':
301 return '@' + ResolutionSession.describeInjection(e.value).targetName;
302 case 'binding':
303 return e.value.key;
304 }
305}
306
307/**
308 * Options for binding/dependency resolution

Calls 1

describeInjectionMethod · 0.80

Tested by

no test coverage detected