-
Notifications
You must be signed in to change notification settings - Fork 147
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
Move connection events to reducers #309
Conversation
25c8b98
to
77593a2
Compare
If you rename the bindings to be |
Hm what do you mean? I don't see those names in #299, and those are no longer bindings - they're just reducers, so they get the optional context now like any other reducer. |
I haven't made that change yet in #299, but I need to. Whether they're reducers or special functions, with #299 the name |
Ah ok... in that case let's just leave it for a separate PR since it's technically an improvement out of scope of either of those PRs. The smaller PRs, the easier to deal with said merge conflicts. I don't mind rebasing mine if #299 lands first. |
Ugh, that same mysterious should-be-unreachable failure in the SDK tests. Sigh. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the broken smoke tests.
77593a2
to
85e0439
Compare
This updates filtering of `__init__` to exclude all special reducers, as well as moves the filtering to centralised place before calling language-specific generate command.
6d489cb
to
c6eac2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Update after the change in clockworklabs/SpacetimeDB#309.
Update after the change in clockworklabs/SpacetimeDB#309.
Description of Changes
(WIP) This changes
__identity_connected__
and__identity_disconnected__
to become plain reducers instead of Wasm exports.API and ABI
If the API is breaking, please state below what will break