Skip to content

Conversation

@SteveGibsonCL
Copy link
Contributor

Description of Changes

Making C# reducer args classes partial to allow easier extensibility

API

  • This is a breaking change to the module API
  • This is a breaking change to the ClientAPI

If the API is breaking, please state below what will break

@SteveGibsonCL SteveGibsonCL requested a review from jdetter June 27, 2023 16:57
@SteveGibsonCL SteveGibsonCL enabled auto-merge (squash) June 27, 2023 16:57
@SteveGibsonCL SteveGibsonCL merged commit 0ba0c8e into master Jun 27, 2023
cloutiertyler pushed a commit that referenced this pull request Aug 1, 2023
cloutiertyler pushed a commit that referenced this pull request Aug 1, 2023
@cloutiertyler cloutiertyler deleted the cs-partial-reducer-args-classes branch August 1, 2023 21:56
bfops pushed a commit that referenced this pull request Jul 16, 2025
At some point identities were returned in a form of { __identity_bytes:
string } object. This commit changes the implementation to accept
regular strings as an argument because that's how we get all of the
identities now.
bfops pushed a commit that referenced this pull request Jul 16, 2025
* Add instructions to README

* Update README.md
bfops pushed a commit that referenced this pull request Jul 17, 2025
* doc: Onboarding impr, fixes, consistency, cleanup

refactor: Whats next cleanup, +unity, -bloat

Removed redundant text while there

refactor: Unity quickstart fixes, impr, prettify

refactor: Unity pt1 fixes, impr, prettify

fix(README): Rm "see test edits below" ref

* !exists

refactor(minor): General onboarding cleanup

* Shorter, prettier, consistent

fix(sdks/c#): Broken unitypackage url

feat(sdks/c#): Add OneTimeQuery api ref

* doc: Onboarding impr, fixes, consistency, cleanup

* fix: Rm redundant 'module_bindings' mention

* fix: Floating period, "arbitrary", "important":

- PR review change requests
- Additionally: hasUpdatedRecently fix and reformatting

* fix: Mentioned FilterBy, used FindBy

- Used FindBy since that was what the tutorial used, and also looking for a single Identity.
- Note: There may be a similar rust discrepancy in the Unity pt1 tutorial. It'll work with Filter, but just simply less consistent. Holding off on that since my Rust syntax knowledge !exists.

* fix(Unity-pt1): Rm copy+paste redundant comments

* Duplicate comments found both above and within funcs

* fix(unity): Rm unused using statement +merged info

* Removed `System.Runtime.CompilerServices`
* SpacetimeDB.Module seems to already include this (merged the info)

* refactor(minor): Code spacing for grouping/clarity

* feat: 'Standalone mode runs in foreground' memo

* At general quickstart for `spacetime start`

* refactor(unity-pt1): Standalone mode foreground memo

* Also, removed the "speed" loss mention of C#

* fix(syntaxErr): Fix err, keep FilterBy, handle null

- After a verbose discussion, we will eventually swap to FindBy for single-result queries, but not in this PR.
- For now, the syntax err is fixed by making the var nullable and suffixing a LINQ FirstOrDefault(). Approved by Tyler in Discord.
- We never *actually* created a player in the tutorial. This creates the player. Approved by Tyler in Discord.

* fix: Remote player `is null` check removal
bfops pushed a commit that referenced this pull request Jul 17, 2025
* Deserializing reducer args before table updates so they can be accessed from callbacks

* Reducer arguments in table events

* Adding OnBeforeDelete event to tables

* Renaming ReducerCallInfo to ReducerEvent

* Removed extra onSubscriptionUpdate

---------

Co-authored-by: Steve <[email protected]>
Co-authored-by: John Detter <[email protected]>
bfops pushed a commit that referenced this pull request Aug 7, 2025
At some point identities were returned in a form of { __identity_bytes:
string } object. This commit changes the implementation to accept
regular strings as an argument because that's how we get all of the
identities now.
bfops pushed a commit that referenced this pull request Aug 7, 2025
* Deserializing reducer args before table updates so they can be accessed from callbacks

* Reducer arguments in table events

* Adding OnBeforeDelete event to tables

* Renaming ReducerCallInfo to ReducerEvent

* Removed extra onSubscriptionUpdate

---------

Co-authored-by: Steve <[email protected]>
Co-authored-by: John Detter <[email protected]>
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.

3 participants