MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / configBindingKeyFor

Function configBindingKeyFor

packages/context/src/binding-config.ts:65–73  ·  view source on GitHub ↗
(
  key: BindingAddress,
  propertyPath?: string,
)

Source from the content-addressed store, hash-verified

63 * @param propertyPath - Property path for the configuration
64 */
65export function configBindingKeyFor<ConfigValueType = unknown>(
66 key: BindingAddress,
67 propertyPath?: string,
68) {
69 return BindingKey.create<ConfigValueType>(
70 BindingKey.buildKeyForConfig<ConfigValueType>(key).toString(),
71 propertyPath,
72 );
73}

Calls 3

buildKeyForConfigMethod · 0.80
createMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected