From 8b9c32247fdffb94446184f4ac2fce9bdee189f6 Mon Sep 17 00:00:00 2001 From: ppetzold Date: Fri, 17 Mar 2023 21:42:53 +0100 Subject: [PATCH] update README --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 100ed2c..789b789 100644 --- a/README.md +++ b/README.md @@ -231,6 +231,15 @@ const paginateConfig: PaginateConfig { */ relations: [], + /** + * Required: false + * Type: boolean + * Default: false + * Description: Load eager relations using TypeORM's eager property. + * Only works if `relations` is not defined. + */ + loadEagerRelations: true + /** * Required: false * Type: boolean @@ -253,14 +262,6 @@ const paginateConfig: PaginateConfig { * Description: Overrides the origin of absolute resource links if set. */ origin: 'http://cats.example', - - /** - * Required: false - * Type: boolean - * Default: false - * Description: Load eager relations using TypeORM's eager property. - */ - loadEagerRelations: true } ```