clockworklabs / SpacetimeDB

Multiplayer at the speed of light
https://spacetimedb.com
Other
4.41k stars 110 forks source link

Put `ExecutionContext` inside the Tx context #1876

Closed mamcx closed 3 weeks ago

mamcx commented 1 month ago

Description of Changes

As a preparatory step for further PRs, like those related to the new Query Engine, most usages of ExecutionContext as an additional context in database calls are removed and put inside the Tx contexts instead.

API and ABI breaking changes

Expected complexity level and risk

3

Testing

Describe any testing you've done, and any testing you'd like your reviewers to do, so that you're confident that all the changes work as expected!

joshua-spacetime commented 4 weeks ago

@cloutiertyler this is ready for your approval

mamcx commented 4 weeks ago

@cloutiertyler this is ready for your approval

Pls wait until I merge https://github.com/clockworklabs/SpacetimeDB/pull/1880 so it will be easier to read...

Ok, now is done!