Interface
ValueProcessorInterface
Magento\GraphQlResolverCache\Model\Resolver\Result\ValueProcessorInterface
What it does
This interface defines value processors for GraphQL resolver cache operations in Magento 2.
Developers implement this interface to transform or modify resolver values before they are cached and after they are loaded from cache, enabling custom serialization, data sanitization, or reference handling for cached GraphQL responses.
Public Methods
- processCachedValueAfterLoad()
- preProcessParentValue()
- preProcessValueBeforeCacheSave()