Skip to content

Commit a00fba8

Browse files
committed
B2B-2677: [MediaGallery]Implement data caching for GraphQL results on resolver level
- Remove condition that is always false
1 parent 4c52021 commit a00fba8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/GraphQlResolverCache/Model/Resolver/Result/ValueProcessor.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ public function preProcessParentValue(array &$value): void
134134
*/
135135
private function hydrateData(array &$value)
136136
{
137-
if ($value === null) {
138-
return;
139-
}
140137
// the parent value is always a single object that contains currently resolved value
141138
$reference = $this->defaultFlagGetter->getFlagFromValue($value) ?? null;
142139
if (isset($reference['cacheKey']) && isset($reference['index'])) {

0 commit comments

Comments
 (0)