@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 689 B
Markdown
---
lang: en
title: 'API docs: metadata.decoratoroptions.allowinheritance'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.metadata.decoratoroptions.allowinheritance.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/metadata](./metadata.md) > [DecoratorOptions](./metadata.decoratoroptions.md) > [allowInheritance](./metadata.decoratoroptions.allowinheritance.md)
## DecoratorOptions.allowInheritance property
Controls if inherited metadata will be honored. Default to `true`<!-- -->.
<b>Signature:</b>
```typescript
allowInheritance?: boolean;
```