---
lang: en
title: 'API docs: repository.inclusionresolver'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.inclusionresolver.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [InclusionResolver](./repository.inclusionresolver.md)

## InclusionResolver type

<b>Signature:</b>

```typescript
export declare type InclusionResolver<S extends Entity, T extends Entity> = (
sourceEntities: S[], 
inclusion: InclusionFilter, 
options?: Options) => Promise<(T | undefined)[] | (T[] | undefined)[]>;
```
<b>References:</b> [Entity](./repository.entity.md)<!-- -->, [InclusionFilter](./filter.inclusionfilter.md)<!-- -->, [Options](./repository.options.md)


