Skip to content

Commit 2fff3f2

Browse files
committed
ACP2E-3492: added interface ResetAfterRequestInterface to be BIC
1 parent 9843afc commit 2fff3f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CustomerGraphQl/Model/Resolver/Cache/Customer/ModelHydrator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
use Magento\Customer\Model\Data\Customer;
1111
use Magento\Customer\Model\Data\CustomerFactory;
1212
use Magento\Framework\EntityManager\HydratorPool;
13+
use Magento\Framework\ObjectManager\ResetAfterRequestInterface;
1314
use Magento\GraphQlResolverCache\Model\Resolver\Result\HydratorInterface;
1415

1516
/**
1617
* Customer resolver data hydrator to rehydrate propagated model.
1718
*/
18-
class ModelHydrator implements HydratorInterface
19+
class ModelHydrator implements HydratorInterface, ResetAfterRequestInterface
1920
{
2021
/**
2122
* @var CustomerFactory

0 commit comments

Comments
 (0)