Skip to content

Implement reduced coupling between SpacetimeDBClient.cs and Table.cs#3122

Merged
rekhoff merged 8 commits into
masterfrom
csharp/rekhoff/reduce_client_tables_coupling
Aug 5, 2025
Merged

Implement reduced coupling between SpacetimeDBClient.cs and Table.cs#3122
rekhoff merged 8 commits into
masterfrom
csharp/rekhoff/reduce_client_tables_coupling

Conversation

@rekhoff
Copy link
Copy Markdown
Contributor

@rekhoff rekhoff commented Aug 4, 2025

Description of Changes

Moves table-specific operations out of SpacetimeDBClient.cs and into Table.cs in order to reduce coupling between the two files.

This is the implementation of #3047

This is a PR being duplicated/migrated from clockworklabs/com.clockworklabs.spacetimedbsdk#346, which contains prior discussion/review/approval.

API

  • This is an API breaking change to the SDK

Requires SpacetimeDB PRs

No PRs needed, works with latest master

Testsuite

SpacetimeDB branch name: master

Testing

  • Opened and ran Blackhol.io within Unity Editor and successfully connecting to a locally running server
  • Compiled a WebGL build of Blackhol.io and successfully connecting to a locally running server
  • Opened and ran BitCraft within Unity Editor and successfully connecting to a locally running server

Copy link
Copy Markdown
Contributor

@jdetter jdetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one small comment on this. Plus the original PR was approved by James as well so this should be fine. Thanks for moving this over 👍

Comment thread sdks/csharp/src/CompressionHelpers.cs
@rekhoff rekhoff added this pull request to the merge queue Aug 5, 2025
Merged via the queue into master with commit 40ec970 Aug 5, 2025
25 checks passed
bfops pushed a commit that referenced this pull request Aug 7, 2025
…3122)

## Description of Changes
Moves table-specific operations out of `SpacetimeDBClient.cs` and into
`Table.cs` in order to reduce coupling between the two files.

This is the implementation of
#3047

This is a PR being duplicated/migrated from
clockworklabs/com.clockworklabs.spacetimedbsdk#346,
which contains prior discussion/review/approval.

## API

 - [ ] This is an API breaking change to the SDK

## Requires SpacetimeDB PRs
No PRs needed, works with latest master

## Testsuite
SpacetimeDB branch name: master

## Testing
- [X] Opened and ran Blackhol.io within Unity Editor and successfully
connecting to a locally running server
- [X] Compiled a WebGL build of Blackhol.io and successfully connecting
to a locally running server
- [x] Opened and ran BitCraft within Unity Editor and successfully
connecting to a locally running server
mamcx pushed a commit that referenced this pull request Aug 26, 2025
…3122)

## Description of Changes
Moves table-specific operations out of `SpacetimeDBClient.cs` and into
`Table.cs` in order to reduce coupling between the two files.

This is the implementation of
#3047

This is a PR being duplicated/migrated from
clockworklabs/com.clockworklabs.spacetimedbsdk#346,
which contains prior discussion/review/approval.

## API

 - [ ] This is an API breaking change to the SDK

## Requires SpacetimeDB PRs
No PRs needed, works with latest master

## Testsuite
SpacetimeDB branch name: master

## Testing
- [X] Opened and ran Blackhol.io within Unity Editor and successfully
connecting to a locally running server
- [X] Compiled a WebGL build of Blackhol.io and successfully connecting
to a locally running server
- [x] Opened and ran BitCraft within Unity Editor and successfully
connecting to a locally running server
@bfops bfops deleted the csharp/rekhoff/reduce_client_tables_coupling branch May 7, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants