---
lang: en
title: 'API docs: repository.hasonerepositoryfactory'
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.hasonerepositoryfactory.html
---

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

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [HasOneRepositoryFactory](./repository.hasonerepositoryfactory.md)

## HasOneRepositoryFactory interface

<b>Signature:</b>

```typescript
export interface HasOneRepositoryFactory<Target extends Entity, ForeignKeyType> 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [inclusionResolver](./repository.hasonerepositoryfactory.inclusionresolver.md) | [InclusionResolver](./repository.inclusionresolver.md)<!-- -->&lt;[Entity](./repository.entity.md)<!-- -->, Target&gt; | Use <code>resolver</code> property to obtain an InclusionResolver for this relation. |


