Page Contents

Home > @loopback/context > ResolutionSession > describeInjection

ResolutionSession.describeInjection() method

Describe the injection for debugging purpose

Signature:

static describeInjection(injection: Readonly<Injection>): {
        targetName: string;
        bindingSelector: import("./binding-filter").BindingSelector<any>;
        metadata: import("./inject").InjectionMetadata;
    };

Parameters

Parameter Type Description
injection Readonly<Injection> Injection object

Returns:

{ targetName: string; bindingSelector: import("./binding-filter").BindingSelector<any>; metadata: import("./inject").InjectionMetadata; }