We have some flaky bug where Events are getting modified while we're already iterating over them in the snapshot.
I think this might've been fixed by #144, but add extra checks just in case so that the exception is thrown in a concrete event that causes it, and not inside snapshot serialization.
API
[ ] This is an API breaking change to the SDK
If the API is breaking, please state below what will break
Requires SpacetimeDB PRs
List any PRs here that are required for this SDK change to work
Description of Changes
We have some flaky bug where Events are getting modified while we're already iterating over them in the snapshot.
I think this might've been fixed by #144, but add extra checks just in case so that the exception is thrown in a concrete event that causes it, and not inside snapshot serialization.
API
If the API is breaking, please state below what will break
Requires SpacetimeDB PRs
List any PRs here that are required for this SDK change to work