mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 09:53:32 +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. |
||
---|---|---|
.. | ||
OfferMapper.js | ||
OfferRepository.js | ||
OffersAPI.js | ||
UniqueChecker.js |