Page Contents

Home > @loopback/context > BindingKey > deepProperty

BindingKey.deepProperty() method

Get a binding address for retrieving a deep property of the object bound to the current binding key.

Signature:

deepProperty<PropertyValueType>(propertyPath: string): BindingKey<PropertyValueType>;

Parameters

Parameter Type Description
propertyPath string A dot-separated path to a (deep) property, e.g. “server.port”.

Returns:

BindingKey<PropertyValueType>