-
Notifications
You must be signed in to change notification settings - Fork 664
Implement OnUnhandledReducerError in C# #2636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rekhoff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and tracks with our previous discussions.
I'm good with the summary comment as-is, but if you where looking for an alternative,
Register a callback to be called when a reducer with no registered callbacks is invoked.
might be slightly more accurate. The double use of the words "register" and "callback" does make it a bit confusing, but it is a factual statement :)
I'm good with moving forward with what you've got here, and it fulfills the goal defined in #2513
## Description of Changes SDK side of clockworklabs/SpacetimeDB#2636 Addresses #281 ## API - [ ] This is an API breaking change to the SDK ## Requires SpacetimeDB PRs clockworklabs/SpacetimeDB#2636 ## Testsuite *If you would like to run the your SDK changes in this PR against a specific SpacetimeDB branch, specify that here. This can be a branch name or a link to a PR.* SpacetimeDB branch name: jgilles/on-unhandled-reducer-error ## Testing - [ ] Add a test that this works to the regression-tests example module
## Description of Changes SDK side of #2636 Addresses clockworklabs/com.clockworklabs.spacetimedbsdk#281 ## API - [ ] This is an API breaking change to the SDK ## Requires SpacetimeDB PRs #2636 ## Testsuite *If you would like to run the your SDK changes in this PR against a specific SpacetimeDB branch, specify that here. This can be a branch name or a link to a PR.* SpacetimeDB branch name: jgilles/on-unhandled-reducer-error ## Testing - [ ] Add a test that this works to the regression-tests example module
## Description of Changes SDK side of clockworklabs/SpacetimeDB#2636 Addresses #281 ## API - [ ] This is an API breaking change to the SDK ## Requires SpacetimeDB PRs clockworklabs/SpacetimeDB#2636 ## Testsuite *If you would like to run the your SDK changes in this PR against a specific SpacetimeDB branch, specify that here. This can be a branch name or a link to a PR.* SpacetimeDB branch name: jgilles/on-unhandled-reducer-error ## Testing - [ ] Add a test that this works to the regression-tests example module
Description of Changes
Addresses clockworklabs/com.clockworklabs.spacetimedbsdk#281
If someone has a better idea for the doc comment I'd appreciate it
API and ABI breaking changes
Expected complexity level and risk
1
Testing
Testing is happening in the C# SDK