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),