Skip to content

C#/Unity SDK callback for schema mismatch #3160

@jdetter

Description

@jdetter

Steve from the BitCraft team raised this PR which calls the OnUnhandledReducerError when a schema mismatch caused a transaction update error in the SDK: clockworklabs/com.clockworklabs.spacetimedbsdk#356

IMO I think we should have a specific callback for this general scenario, possibly something like OnTransactionError or something like that where we can pass these sorts of errors back to the client.

TODO

  • Determine the signature for this new callback. Consider also that we may in the future need to implement this callback in all SDKs but for now we are just focusing on the C#/Unity SDK.
  • Implement the callback

Nice to have

  • Testsuite test which demonstrates that the new callback works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions