mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
af0014917b
refs https://github.com/TryGhost/Toolbox/issues/364 - Passing "cache" through constructor did not work out because cache setting is still dependent upon on the model layer (gets called before it has a chance to initialize during db migrations) - To remove the initialization dependency blockers were: "defaults" method in the post model - the value resolved to "undefined" anyway during the fixture insertion validate-password module - checks the password against "undefined" during fixture initialization - Passing the cache through "init" method works too, but is not as clear as with constructor DI pattern. |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-browser | ||
e2e-frontend | ||
e2e-server | ||
e2e-webhooks | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js |