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(atoms): disable ecosystem.find() fuzzy search if params are passed #103

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

bowheart
Copy link
Collaborator

Description

The recent change to add fuzzy search to ecosystem.find() (#79) made the search too fuzzy. Specifically, when atom params are passed to `ecosystem.find() , it's never expected that anything but an exact match is returned. Disable fuzzy search when params are passed.

I'm categorizing this as a bug fix, since the overtly-fuzzy search wasn't expected behavior. But it's also a new feature - e.g. now when passing a search string as the first param, you can pass an empty array as the second param to only return an exact match (or undefined if no match).

@bowheart bowheart merged commit 20e2319 into master Jun 11, 2024
2 checks passed
@bowheart bowheart deleted the josh/less-fuzzy-find branch June 11, 2024 13:06
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.

1 participant