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

Method getMetadataKey

packages/metadata/src/reflect.ts:19–22  ·  view source on GitHub ↗
(metadataKey: string)

Source from the content-addressed store, hash-verified

17 constructor(private namespace?: string) {}
18
19 private getMetadataKey(metadataKey: string): string {
20 // prefix namespace, if provided, to the metadata key
21 return this.namespace ? this.namespace + ':' + metadataKey : metadataKey;
22 }
23
24 /**
25 * define metadata for a target class or it's property/method

Callers 7

defineMetadataMethod · 0.95
getMetadataMethod · 0.95
getOwnMetadataMethod · 0.95
hasMetadataMethod · 0.95
hasOwnMetadataMethod · 0.95
deleteMetadataMethod · 0.95
metadataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected