Commit d67b97b1 by Bartosz Kubicki

Fix for caching mysql data source

parent 5175873d
...@@ -161,7 +161,7 @@ class MysqlDataSourceCachingReader extends AbstractDataSourceReader ...@@ -161,7 +161,7 @@ class MysqlDataSourceCachingReader extends AbstractDataSourceReader
} }
$entity = $this->entityInterfaceFactory->create(['data' => $data]); $entity = $this->entityInterfaceFactory->create(['data' => $data]);
$this->cache->set($condition->getInstruction(), $entity); $this->cache->set($condition->getInstruction(), $data);
return $entity; return $entity;
}); });
return $entity; return $entity;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment