Log in
Interface

HydratorInterface

Magento\GraphQlResolverCache\Model\Resolver\Result\HydratorInterface

What it does

This interface defines a contract for hydrating (populating/enriching) cached GraphQL resolver data before it's passed to child resolvers.

Developers would implement this interface when they need to restore transient data, re-establish object references, or add runtime context to cached resolver results that cannot be directly serialized.

Public Methods

  • hydrate()