Add C# client SDK procedures#3666
Merged
JasonAtClockwork merged 14 commits intomasterfrom Nov 21, 2025
Merged
Conversation
Centril
reviewed
Nov 19, 2025
…adds namespace resolution for Reducer types as well
Centril
approved these changes
Nov 19, 2025
Contributor
Centril
left a comment
There was a problem hiding this comment.
Not a C# guy, but this looks good to me.
rekhoff
approved these changes
Nov 19, 2025
Contributor
rekhoff
left a comment
There was a problem hiding this comment.
Looks good. Worked through any questions directly. Locally tested the regression test and everything passes. Approved.
Signed-off-by: Jason Larabie <jason@clockworklabs.io>
# Conflicts: # crates/codegen/tests/snapshots/codegen__codegen_csharp.snap # sdks/csharp/examples~/quickstart-chat/client/module_bindings/SpacetimeDBClient.g.cs # sdks/csharp/examples~/regression-tests/client/module_bindings/SpacetimeDBClient.g.cs # sdks/csharp/examples~/regression-tests/republishing/client/module_bindings/SpacetimeDBClient.g.cs
Contributor
Author
|
@rekhoff - Can you give this a quick look for the updated tests? |
Contributor
Reviewed tests, they look good. Ran the tests locally and they all passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Closes: #3533
Updated the C# SDK to handle procedures and procedure callbacks in a similar fashion to the Rust client as well as added the codegen to support it.
API and ABI breaking changes
N/A
Expected complexity level and risk
2 - This adds a new testing frame that should be removed once procedures are handled with C# module bindings
Testing
Added /sdks/csharp/examples~/regression-tests/procedure-client to match modules/sdk-test-procedure which we can roll into the standard regression-tests once C# supports the procedure attribute.