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(client): ensure client.search is bound #6352

Merged
merged 2 commits into from
Sep 10, 2024
Merged

fix(client): ensure client.search is bound #6352

merged 2 commits into from
Sep 10, 2024

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Sep 9, 2024

Summary

in 5.2.5 of algoliasearch, a change in the code is made, and client.search needs to be called with the correct this, which isn't the case if you say const search = client.search

Result

fixes #6350
fixes algolia/algoliasearch-client-javascript#1549

possibly also solves #6348, to investigate afterwards

@Haroenv Haroenv requested review from aymeric-giraudet, a team and sarahdayan and removed request for a team September 9, 2024 15:49
Copy link

codesandbox-ci bot commented Sep 9, 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.

Latest deployment of this branch, based on commit 5c1c4cc:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@Haroenv Haroenv merged commit 2a171a9 into master Sep 10, 2024
13 of 14 checks passed
@Haroenv Haroenv deleted the fix/client-bind branch September 10, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants