kwhitley / itty-durable

Cloudflare Durable Objects + Itty Router = shorter code
MIT License
244 stars 18 forks source link

Is state persistence automatic? #12

Closed janat08 closed 2 years ago

janat08 commented 2 years ago

It seems like state is automatically persisted, and I didn't manage to use persistent storage. I just want to make sure, if it's so then this should be in readme.

kwhitley commented 2 years ago

Sorry for the late reply, but as this is just about to be re-released after an internal update, would love your input in this very poll:

https://github.com/kwhitley/itty-durable/discussions/16

kwhitley commented 2 years ago

By default auto-persistence will be off by default in v1.x.