mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
d7bbb0b935
refs https://github.com/TryGhost/Arch/issues/16 - Using the API directly on the repository level prevented us from ensuring collection consistency through transactions. - This change migrates the PostsRepository to use Bookshelf model layer directly, which also allows to put queries into transactions. - Additional optimization here was removing the `getAllPosts` method from CollectionService. This is an attempt to reduce the API surface of the of the service before calling it a GA. |
||
---|---|---|
.. | ||
content | ||
core | ||
test | ||
.c8rc.e2e.json | ||
.c8rc.json | ||
.eslintignore | ||
.eslintrc.js | ||
.npmignore | ||
config.development.json | ||
ghost.js | ||
index.js | ||
jsconfig.json | ||
loggingrc.js | ||
MigratorConfig.js | ||
package.json | ||
playwright.config.js |