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

Update merge fix #218

Closed
wants to merge 5 commits into from
Closed

Update merge fix #218

wants to merge 5 commits into from

Conversation

cedvdb
Copy link
Contributor

@cedvdb cedvdb commented Mar 26, 2022

fixes #217

should merge #215 #216 prior to this

@cedvdb cedvdb changed the title Update fix Update merge fix Mar 26, 2022
@atn832
Copy link
Owner

atn832 commented Jun 20, 2022

It is not a good idea to chain PRs for unrelated issues. Since this PR includes code from the previous PRs, one can't easily distinguish which code is relevant to the issue. This makes reviewing the code much harder.

I've also made cleanups in #225 after merging #216, so this PR might get merge conflicts.

It might be easier for you to close this PR and make a brand new one to fix #217.

return descending ? -compare : compare;
});
final fields = (parameters['orderedBy'] ?? []);
for (var index = 0; index < fields.length; index++) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary to fix 217? Can you explain what needed rework?

Copy link
Contributor Author

@cedvdb cedvdb Jun 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is from 3 months ago so my memory isn't exactly clear. It looks like this might be from one of the PR this one was chained onto. Maybe you edited the other PR and this is seen as a change ? I agree my PR process was messy here...

This seems unrelated by the looks of it. I hope it's not a fix from the other PR that was somehow included here and not in the other though.

I'll resubmit this one with only appropriate changes eventually.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! And sorry for taking so long to review. It makes us forget the context. That's why I merged #216 as is, since it fixed the issue, then cleaned up the code myself.

Copy link
Contributor Author

@cedvdb cedvdb Jul 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For info I'm really busy right now. This is still on my mind, but I have priorities, I don't think I will be able to come back to this in the immediate future. I'm using my fork for now, as it fixed the issues.

final movieFound = searchResults.docs.first.data();
expect(movieFound.title, equals('Robot from the future'));
});
// test('startAt with converters', () async {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind restoring the tests?

@cedvdb
Copy link
Contributor Author

cedvdb commented Jun 26, 2022

It is not a good idea to chain PRs for unrelated issues.

Agreed. I was trying to resolve a specific query issue that affected me personally and applied every fix in succession to fix my problem. This is not exactly a good excuse but here we are.

@cedvdb cedvdb closed this Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested updates are merged
2 participants