nezuo / lapis

A DataStore abstraction library for Roblox
https://nezuo.github.io/lapis/
MIT License
55 stars 10 forks source link

Add `beforeLoad` callback #38

Open nezuo opened 6 months ago

nezuo commented 6 months ago

It should be possible to modify the data of a document before it loads. For example, you could implement reconciliation (think ProfileService:Reconcile) or decompression of the document.

Some open questions:

I'd also like to add a reconciliation example to the docs after this feature is added.