Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add order by behaviour with array similar to get method #4453

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

Merged
merged 6 commits into from
Aug 30, 2019

Conversation

Mohit21GoJs
Copy link
Contributor

fix issue #4438

@jdalton
Copy link
Member

jdalton commented Aug 30, 2019

Hi @Mohit21GoJs!

Could you rebase this PR without the package-lock.json update?

@Mohit21GoJs
Copy link
Contributor Author

Hi @Mohit21GoJs!

Could you rebase this PR without the package-lock.json update?

Updated @jdalton , please review.

return (value) => baseGet(value, iteratee)
}
return iteratee
}) : [(value) => value]
Copy link
Member

Choose a reason for hiding this comment

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

We have a method called identity that can me used for (value) => value.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jdalton the existing identity was defined in ../test/util.js, hence i defined a identity function in this file as there is no other util file, let me know if it makes sense.

@jdalton
Copy link
Member

jdalton commented Aug 30, 2019

Ah cool. Thanks @Mohit21GoJs!

@jdalton jdalton merged commit 5df1777 into lodash:master Aug 30, 2019
@falsyvalues
Copy link
Contributor

@jdalton Shall we backport this to v4.17.15-post?

@jdalton
Copy link
Member

jdalton commented Sep 3, 2019

@falsyvalues That would be a good idea!

@jdalton jdalton added issue bankruptcy Closing the issue/PR to start fresh and removed issue bankruptcy Closing the issue/PR to start fresh labels Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants