From 36476bf793af189168a4edd190daf5a6de9c11be Mon Sep 17 00:00:00 2001 From: Patryk Rajpold <63905418+pato1713@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:26:05 +0100 Subject: [PATCH] docs: one-to-one relation explanation fix (#11151) --- src/decorator/relations/OneToOne.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/decorator/relations/OneToOne.ts b/src/decorator/relations/OneToOne.ts index e0b5f0f6a..9f2c50854 100644 --- a/src/decorator/relations/OneToOne.ts +++ b/src/decorator/relations/OneToOne.ts @@ -6,7 +6,7 @@ import { ObjectUtils } from "../../util/ObjectUtils" /** * One-to-one relation allows to create direct relation between two entities. Entity1 have only one Entity2. - * Entity1 is an owner of the relationship, and storages Entity1 id on its own side. + * Entity1 is an owner of the relationship, and storages Entity2 id on its own side. */ export function OneToOne( typeFunctionOrTarget: string | ((type?: any) => ObjectType), @@ -15,7 +15,7 @@ export function OneToOne( /** * One-to-one relation allows to create direct relation between two entities. Entity1 have only one Entity2. - * Entity1 is an owner of the relationship, and storages Entity1 id on its own side. + * Entity1 is an owner of the relationship, and storages Entity2 id on its own side. */ export function OneToOne( typeFunctionOrTarget: string | ((type?: any) => ObjectType), @@ -25,7 +25,7 @@ export function OneToOne( /** * One-to-one relation allows to create direct relation between two entities. Entity1 have only one Entity2. - * Entity1 is an owner of the relationship, and storages Entity1 id on its own side. + * Entity1 is an owner of the relationship, and storages Entity2 id on its own side. */ export function OneToOne( typeFunctionOrTarget: string | ((type?: any) => ObjectType),