Page Contents

Home > @loopback/context > ResolutionOptions > asProxyWithInterceptors

ResolutionOptions.asProxyWithInterceptors property

A boolean flag to control if a proxy should be created to apply interceptors for the resolved value. It’s only honored for bindings backed by a class.

Signature:

asProxyWithInterceptors?: boolean;