catalog-backend: include cache state in processing result hash

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-09-21 17:26:04 +02:00
committed by Johan Haals
parent f0649d43e5
commit c65552b3b7
@@ -167,7 +167,8 @@ export class DefaultCatalogProcessingEngine implements CatalogProcessingEngine {
hashBuilder = hashBuilder
.update(stableStringify({ ...result.completedEntity }))
.update(stableStringify([...result.deferredEntities]))
.update(stableStringify([...result.relations]));
.update(stableStringify([...result.relations]))
.update(stableStringify(result.state));
}
const resultHash = hashBuilder.digest('hex');