@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 807 B
Markdown
lang: en
title: 'API docs: context.resolutionoptions.asproxywithinterceptors'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.context.resolutionoptions.asproxywithinterceptors.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [ResolutionOptions](./context.resolutionoptions.md) > [asProxyWithInterceptors](./context.resolutionoptions.asproxywithinterceptors.md)
## 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.
<b>Signature:</b>
```typescript
asProxyWithInterceptors?: boolean;
```