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

fixes request channel to drop second element #244

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

OlegDokuka
Copy link
Member

closes #234

unexpectedly, the index is a local variable per subscription, thus the second subscription starts indexing from 0 once again even though the element is a second one (index should be 1 in that case). Therefore, to overcome this problem the PR introduces a local variable to track the first element.

Signed-off-by: Oleh Dokuka [email protected]
Signed-off-by: Oleh Dokuka [email protected]

unexpectedly, index is a local variable per subscription, thus second subscription starts indexing from 0 once again even though the element is a second one (index should be 1 in that case). Therefore, to overcome this problem the PR introduces a local variable to track the first element.

Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: OlegDokuka <[email protected]>
@OlegDokuka OlegDokuka requested a review from viglucci August 10, 2022 21:19
@OlegDokuka OlegDokuka added the bug label Aug 11, 2022
@OlegDokuka OlegDokuka added this to the 1.0.0 milestone Aug 11, 2022
@OlegDokuka OlegDokuka merged commit 36bd9f5 into 1.0.x-alpha Aug 11, 2022
viglucci pushed a commit that referenced this pull request Sep 4, 2022
unexpectedly, in the rxjs `partition` operator the index is a local variable per subscription, thus the second subscription starts indexing from 0 once again even though the element is a second one (index should be 1 in that case). Therefore, to overcome this problem the PR introduces a local variable to track the first element.

Signed-off-by: Kevin Viglucci <[email protected]>
viglucci pushed a commit that referenced this pull request Apr 27, 2023
unexpectedly, in the rxjs `partition` operator the index is a local variable per subscription, thus the second subscription starts indexing from 0 once again even though the element is a second one (index should be 1 in that case). Therefore, to overcome this problem the PR introduces a local variable to track the first element.

Signed-off-by: Kevin Viglucci <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants