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

fix: avoid calling .map on undefined for array selector #38

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

mcarriere
Copy link
Contributor

Here's my attempt at fixing #37.

Let me know if this condition was used for some other case and what I can do better!

Handle the case where some objects don't have the property used by an array selector in searchableKeys (see yann510#37)
Copy link
Owner

@yann510 yann510 left a comment

Choose a reason for hiding this comment

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

Thanks a ton for your contribution @mcarriere 🥂

@yann510 yann510 merged commit dc61f06 into yann510:master Nov 2, 2022
@github-actions
Copy link

github-actions bot commented Nov 2, 2022

🎉 This PR is included in version 1.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants