-
Notifications
You must be signed in to change notification settings - Fork 273
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
Regression when switchMap is used together with asynchronous generator #764
Comments
possibly related to dart-lang/sdk#42717 (comment), dart-lang/sdk#56619 |
The issue is not only with the asynchronous generator, but also with
I can't reproduce the same behavior in runtime. Only widget tests seem to be affected (26 of our tests are red now ). |
After upgrading to 0.28.0, all code that uses It only emits data for the first stream. When I add a new value to the BehaviorSubject, I can see it's reprocessing the new stream, but it doesn't emit the value on time to be detected by the test. I'm using It seems to be a side effect of this change:
|
Maybe related: #395 (comment) |
Here is minimal reproducible example for regression which I found during migration from
rxdart
0.27.7 to 0.28.0.Dart SDK version: 3.5.1
Source code
Expected result (rxdart 0.27.7):
Actual result (rxdart 0.28.0):
The text was updated successfully, but these errors were encountered: