rocicorp / replicache

Realtime Sync for Any Backend Stack
https://doc.replicache.dev
1.05k stars 37 forks source link

refactor: Make the hash function a property of the dag store #695

Closed arv closed 2 years ago

arv commented 2 years ago

The dag store now takes the function to use when computing the hash of a chunk. This is needed because we want to use differn hash functions for memdag and perdag.

Towards #671

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rocicorp/replicache/6a92FEGDH682qnLQDZzvMwvBLdF3
✅ Preview: https://replicache-git-fork-arv-chunk-hash-rocicorp.vercel.app