@dataui/crud-typeorm
Advanced tools
Comparing version 5.3.2 to 5.3.3
@@ -381,5 +381,7 @@ "use strict"; | ||
const select = [ | ||
...allowedRelation.primaryColumns, | ||
...(crud_util_1.isArrayFull(options.persist) ? options.persist : []), | ||
...columns, | ||
...new Set([ | ||
...allowedRelation.primaryColumns, | ||
...(crud_util_1.isArrayFull(options.persist) ? options.persist : []), | ||
...columns, | ||
]), | ||
].map((col) => `${alias}.${col}`); | ||
@@ -571,5 +573,7 @@ builder.addSelect(Array.from(new Set(select))); | ||
const select = [ | ||
...(options.persist && options.persist.length ? options.persist : []), | ||
...columns, | ||
...this.entityPrimaryColumns, | ||
...new Set([ | ||
...(options.persist && options.persist.length ? options.persist : []), | ||
...columns, | ||
...this.entityPrimaryColumns, | ||
]), | ||
].map((col) => `${this.alias}.${col}`); | ||
@@ -576,0 +580,0 @@ return Array.from(new Set(select)); |
{ | ||
"name": "@dataui/crud-typeorm", | ||
"description": "NestJs CRUD for RESTful APIs - TypeORM", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"license": "MIT", | ||
@@ -45,3 +45,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "5008444f42125ad20dce66a343dfa470c8614638" | ||
"gitHead": "b6c71c5a374b81b0e8719044f5c562d751694ca6" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73897
839