-
Notifications
You must be signed in to change notification settings - Fork 1
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
SubscribeToAllTables
, which hides "SELECT * FROM *"
#211
Conversation
In the future, we will change the implementation of this method, so that it uses "legacy subscriptions" while `SubscriptionBuilder.Subscribe` moves to using "mutable subscriptions." At that time, no other interface will be provided for using "legacy subscriptions." `SubscribeToAllTables` may also at some point be rewritten in terms of "mutable subscriptions" somehow.
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.
The change is good. I will investigate the failing tests and see if we can't fix those.
The CI here should be fixed once #210 merges. That PR should be merged once we've pushed NuGet versions of the BSATN DLLs. |
Co-authored-by: Ingvar Stepanyan <[email protected]>
Co-authored-by: Ingvar Stepanyan <[email protected]>
CI now failing due to whitespace errors |
Although the cost was high (see #217) I have verified that this change is working appropriately in the tutorial. |
Description of Changes
Per out-of-band discussion, add
SubscriptionBuilder.SubscribeToAllTables
, which abstracts overSubscriptionBuilder.Subscribe(["SELECT * FROM *"])
.In the future, we will change the implementation of this method, so that it uses "legacy subscriptions" while
SubscriptionBuilder.Subscribe
moves to using "mutable subscriptions." At that time, no other interface will be provided for using "legacy subscriptions."SubscribeToAllTables
may also at some point be rewritten in terms of "mutable subscriptions" somehow.API
If the API is breaking, please state below what will break
Requires SpacetimeDB PRs
N/a
Testsuite
If you would like to run the your SDK changes in this PR against a specific SpacetimeDB branch, 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