Page Contents
Home > @loopback/context > BindingKey > parseKeyWithPath
BindingKey.parseKeyWithPath() method
Parse a string containing both the binding key and the path to the deeply nested property to retrieve.
Signature:
static parseKeyWithPath<T>(keyWithPath: BindingAddress<T>): BindingKey<T>;
Parameters
Parameter | Type | Description |
---|---|---|
keyWithPath | BindingAddress<T> | The key with an optional path, e.g. “application.instance” or “config#rest.port”. |
Returns:
BindingKey<T>