Skip to content

Conversation

@jack-guy
Copy link
Contributor

We have a bulk GET endpoint returning a response like this:

{
    foo: [{
         bar: { id: ... },
         baz: { ... },       
    }]
}

we want to be able to reorder the results by "bar.id". I switched the sort for reorderResultsByKey to use lodash.get so that a dot-separated path can be supplied for that config.

@jack-guy jack-guy requested a review from magicmark October 16, 2025 17:18
@jack-guy jack-guy force-pushed the support-nested-keys branch from e4219c5 to 9cf0790 Compare October 16, 2025 17:22
@jack-guy jack-guy merged commit 342070f into master Oct 16, 2025
1 check passed
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.

3 participants