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

feat: add fuzzy param as optional #2463

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

EmanuelRamos115
Copy link

What's the purpose of this pull request?

adds the fuzzy parameter as an option so that the search result is more precise if the store needs it

How it works?

Basically the search api already accepts this parameter in the api, I added the same parameter to the faststore queries so stores can pass the route if they want

How to test it?

Access a search page or category by passing the parameter fuzzy=0 or fuzzy=1 and check if the result has changed

@EmanuelRamos115 EmanuelRamos115 requested a review from a team as a code owner September 18, 2024 21:00
@EmanuelRamos115 EmanuelRamos115 requested review from emersonlaurentino and pedromtec and removed request for a team September 18, 2024 21:00
Copy link

vercel bot commented Sep 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
faststore-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2024 7:00pm

Copy link

codesandbox-ci bot commented Sep 18, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@higaeduardo
Copy link

You can test in this env https://sfj-f6292be--jwpepperdev.preview.vtex.app/

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.

2 participants