Page Contents

Home > @loopback/context > BindingKey > buildKeyForConfig

BindingKey.buildKeyForConfig() method

Build a binding key for the configuration of the given binding. The format is <key>:$config

Signature:

static buildKeyForConfig<T>(key?: BindingAddress): BindingAddress<T>;

Parameters

Parameter Type Description
key BindingAddress (Optional) Key of the target binding to be configured

Returns:

BindingAddress<T>