Skip to content

Searching an array of nested objects #1

@jcarraway

Description

@jcarraway

Thanks for this great library! Do you have any suggestions for modifying the search function in a way that would work with an array of nested objects? I am currently able to accomplish this by flattening the objects, but I think this solution is less than optimal.

For example, if the user searches 'NY' or 'My Place' this object should be returned:
[{ id: "123xyz", name: "My Place", address: { id: "321yxz", street: "123 Main Street", city: "New York", state: "NY" } }]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions