mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 04:43:12 +03:00
00072a204f
I don't think we need to instantiate and use the `equals` method here. It adds an extra dependency to the Repository implementation, but it is slightly more "correct" as it means that we leak internals by comparing strings exactly? The ValueObject pattern here was very much a trial and isn't something we're necessarily sticking with, so I don't see a problem with this string comparison. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json |