Skip to content
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

Add delegates for events #201

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Add delegates for events #201

merged 1 commit into from
Jan 14, 2025

Conversation

RReverser
Copy link
Member

Description of Changes

This is a requested DX improvement to make sure that IDE shows reasonable argument names instead of arg0...argN.

Fixes #200.

API

  • This is an API breaking change to the SDK

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

Potentially breaking in obscure edge cases, if someone already had Action<...> myCallback; that they passed to those APIs as C# won't cast it automatically to our custom delegate type.

Requires SpacetimeDB PRs

List any PRs here that are required for this SDK change to work

Testsuite

If you would like to run against a specific SpacetimeDB branch in the testsuite, specify that here. This can be a branch name or a link to a PR.

SpacetimeDB branch name: master

Testing

Write instructions for a test that you performed for this PR

  • dotnet test

This is a requested DX improvement to make sure that IDE shows reasonable argument names instead of `arg0`...`argN`.

Fixes #200.
@RReverser RReverser merged commit 1095938 into staging Jan 14, 2025
5 checks passed
@RReverser RReverser deleted the delegates branch January 14, 2025 14: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