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

feat(collections/sort_by): descending order can be specified in options #3419

Merged
merged 4 commits into from
Jun 7, 2023
Merged

feat(collections/sort_by): descending order can be specified in options #3419

merged 4 commits into from
Jun 7, 2023

Conversation

sant123
Copy link
Contributor

@sant123 sant123 commented Jun 1, 2023

Closes #3397

@sant123 sant123 requested a review from kt3k as a code owner June 1, 2023 18:41
@kt3k
Copy link
Member

kt3k commented Jun 2, 2023

I think it's too verbose to duplicate all test cases for desc ordering (Also it's waste of CI time). I suggest we should add a single test case with title [collections/sortBy] desc ordering which exercises one or two typical cases.

+ applied descending order for null values
collections/sort_by.ts Outdated Show resolved Hide resolved
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM

@kt3k kt3k merged commit 0783b5a into denoland:main Jun 7, 2023
@sant123 sant123 deleted the feature/sort_by_desc branch June 7, 2023 05:48
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.

Should sort_by support descending order?
2 participants