Ghost/ghost/offers
Fabien "egg" O'Carroll 00072a204f Simplified use of ValueObject in OfferRepository
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.
2023-09-02 16:58:48 +07:00
..
lib Simplified use of ValueObject in OfferRepository 2023-09-02 16:58:48 +07:00
test Revert "Added support for importing Stripe Coupons as Offers (#17415)" (#17915) 2023-09-01 09:49:29 +02:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
index.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
package.json Updated linting and testing packages 2023-09-01 15:51:17 +02:00