diff --git a/src/decorator/relations/OneToOne.ts b/src/decorator/relations/OneToOne.ts index 9f2c50854..1980039be 100644 --- a/src/decorator/relations/OneToOne.ts +++ b/src/decorator/relations/OneToOne.ts @@ -5,8 +5,8 @@ import { RelationOptions } from "../options/RelationOptions" 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 Entity2 id on its own side. + * One-to-one relation allows the creation of a direct relation between two entities. Entity1 has only one Entity2. + * Entity1 is the owner of the relationship, and stores Entity2 id on its own side. */ export function OneToOne( typeFunctionOrTarget: string | ((type?: any) => ObjectType), @@ -14,8 +14,8 @@ export function OneToOne( ): PropertyDecorator /** - * 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 Entity2 id on its own side. + * One-to-one relation allows the creation of a direct relation between two entities. Entity1 has only one Entity2. + * Entity1 is the owner of the relationship, and stores Entity2 id on its own side. */ export function OneToOne( typeFunctionOrTarget: string | ((type?: any) => ObjectType), @@ -24,8 +24,8 @@ export function OneToOne( ): PropertyDecorator /** - * 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 Entity2 id on its own side. + * One-to-one relation allows the creation of a direct relation between two entities. Entity1 has only one Entity2. + * Entity1 is the owner of the relationship, and stores Entity2 id on its own side. */ export function OneToOne( typeFunctionOrTarget: string | ((type?: any) => ObjectType),