Log in
Model

ValueProcessor

Magento\GraphQlResolverCache\Model\Resolver\Result\ValueProcessor

What it does

This class processes GraphQL resolver results for caching purposes by handling serialization (dehydration) before saving to cache and deserialization (hydration) after loading from cache.

Developers working with GraphQL resolver caching will use this to ensure complex objects are properly converted to/from cacheable formats while maintaining data integrity and performance.

Public Methods

  • processCachedValueAfterLoad()
  • preProcessParentValue()
  • preProcessValueBeforeCacheSave()
  • _resetState()