-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Improve Collection tree data structure
This commit uses the "closure table" method of representing the tree of Collections. Prior versions of TypeORM only had partial support, but the current version fixes that so we can move away from the less efficient "adjacency list" approach and take advantage of the built-in TypeORM tree structure support. BREAKING CHANGE: The data structure used to represent the tree of Collections has changed, which will require a DB migration.
- Loading branch information
1 parent
9d9275c
commit 5e7af0d
Showing
4 changed files
with
67 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9870,20 +9870,13 @@ ieee754@^1.1.13, ieee754@^1.1.4, ieee754@^1.2.1: | |
resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" | ||
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== | ||
|
||
ignore-walk@^3.0.1, ignore-walk@^3.0.3: | ||
ignore-walk@^3.0.1: | ||
version "3.0.4" | ||
resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" | ||
integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== | ||
dependencies: | ||
minimatch "^3.0.4" | ||
|
||
ignore-walk@^4.0.1: | ||
version "4.0.1" | ||
resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-4.0.1.tgz#fc840e8346cf88a3a9380c5b17933cd8f4d39fa3" | ||
integrity sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw== | ||
dependencies: | ||
minimatch "^3.0.4" | ||
|
||
ignore@^5.1.9, ignore@^5.2.0: | ||
version "5.2.0" | ||
resolved "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" | ||
|
@@ -13505,34 +13498,14 @@ [email protected], npm-package-arg@^8.0.0, npm-package-arg@^8.0.1, npm-packa | |
semver "^7.3.4" | ||
validate-npm-package-name "^3.0.0" | ||
|
||
npm-packlist@^1.1.6: | ||
npm-packlist@1.1.12, npm-packlist@^1.1.6, npm-packlist@^2.1.4, npm-packlist@^3.0.0: | ||
version "1.1.12" | ||
resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.12.tgz#22bde2ebc12e72ca482abd67afc51eb49377243a" | ||
integrity sha512-WJKFOVMeAlsU/pjXuqVdzU0WfgtIBCupkEVwn+1Y0ERAbUfWw8R4GjgVbaKnUjRoD2FoQbHOCbOyT5Mbs9Lw4g== | ||
dependencies: | ||
ignore-walk "^3.0.1" | ||
npm-bundled "^1.0.1" | ||
|
||
npm-packlist@^2.1.4: | ||
version "2.2.2" | ||
resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-2.2.2.tgz#076b97293fa620f632833186a7a8f65aaa6148c8" | ||
integrity sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg== | ||
dependencies: | ||
glob "^7.1.6" | ||
ignore-walk "^3.0.3" | ||
npm-bundled "^1.1.1" | ||
npm-normalize-package-bin "^1.0.1" | ||
|
||
npm-packlist@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-3.0.0.tgz#0370df5cfc2fcc8f79b8f42b37798dd9ee32c2a9" | ||
integrity sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ== | ||
dependencies: | ||
glob "^7.1.6" | ||
ignore-walk "^4.0.1" | ||
npm-bundled "^1.1.1" | ||
npm-normalize-package-bin "^1.0.1" | ||
|
||
[email protected], npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.1: | ||
version "6.1.1" | ||
resolved "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz#7b5484ca2c908565f43b7f27644f36bb816f5148" | ||
|
@@ -16020,7 +15993,7 @@ run-parallel@^1.1.9: | |
dependencies: | ||
queue-microtask "^1.2.2" | ||
|
||
[email protected], rxjs@^6.3.3, rxjs@^6.5.1, rxjs@^6.5.2, rxjs@^6.5.3, rxjs@^6.6.0, rxjs@^6.6.3, rxjs@^6.6.6: | ||
[email protected], rxjs@^6.3.3, rxjs@^6.5.1, rxjs@^6.5.2, rxjs@^6.5.3, rxjs@^6.6.0, rxjs@^6.6.3: | ||
version "6.6.7" | ||
resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" | ||
integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== | ||
|