-
Notifications
You must be signed in to change notification settings - Fork 116
fix(firebase_ui_database): Perform list operations in correct order #213
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
fix(firebase_ui_database): Perform list operations in correct order #213
Conversation
…y-builder-reverse
…everse' into feature/database-query-builder-reverse
…ery-builder-reverse
@rrousselGit @lesnitsky Can we get this merged? This is a pretty important issue that affects the currently released package. |
…ery-builder-reverse"" This reverts commit 471893b.
Hey @Rexios80 - sorry for the late response, I had this on my radar but I wanted to write firebase_ui_database tests. They have just been merged, is it possible that you could write a test that validates the change? At the moment, our CI is broken on apple CI due to an external dependency that we're in the process of fixing. It will work locally. Here are the tests: https://github.com/firebase/FirebaseUI-Flutter/blob/main/tests/integration_test/firebase_ui_database/database_list_view_test.dart You will need to run Thanks 👍 |
@russellwheatley I wrote the test |
@Rexios80 - thanks, I will look to get this merged/released this week 👍 |
Description
Fix for bug introduced by #193
The elements should be reversed before removing the extra element or else the wrong element is removed
Related Issues
N/A
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).This will ensure a smooth and quick review process. Updating the
pubspec.yaml
and changelogs is not required.///
).melos run analyze
) does not report any problems on my PR.melos run test:unit:all
doesn't fail).Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?