anthonysharpy / sandbank

Sandbank is the easy-to-use database for s&box.
Other
7 stars 0 forks source link

Consider adding [AutoSaved] #42

Open anthonysharpy opened 1 week ago

anthonysharpy commented 1 week ago

same as [Saved] except updates the database automatically on change

how will it know what collection to update? specify in the attribute?

could it cause performance issues?

anthonysharpy commented 1 week ago

Might be possible with https://docs.facepunch.com/s/sbox-dev/doc/codegen-zhqowLeADO but not sure, haven't looked into it yet

Without codegen it's not possible since it requires extra boilerplate, you can't just do it with an attribute