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(fetchAlgoliaResults): safely access searchClient credentials #1133

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Apr 26, 2023

It's possible to have a broken / badly copied search client without transporter, and that would throw from 1.9.2 onwards.

This PR makes that access safer and throws a clear error.

CR-3338

It's possible to have a broken / badly copied search client without transporter, and that would throw from 1.9.2 onwards.

This PR makes that access safer and throws a clear error.

CR-3338
@codesandbox-ci
Copy link

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 1ef62f9:

Sandbox Source
@algolia/autocomplete-example-github-repositories-custom-plugin Configuration
@algolia/autocomplete-example-instantsearch Configuration
@algolia/autocomplete-example-playground Configuration
@algolia/autocomplete-example-preview-panel-in-modal Configuration
@algolia/autocomplete-example-react-renderer Configuration
@algolia/autocomplete-example-starter-algolia Configuration
@algolia/autocomplete-example-starter Configuration
@algolia/autocomplete-example-reshape Configuration
@algolia/autocomplete-example-vue Configuration

@Haroenv Haroenv merged commit f0f7a62 into next Apr 26, 2023
8 checks passed
@Haroenv Haroenv deleted the fix/safer-check-credentials branch April 26, 2023 14:16
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.

None yet

2 participants