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(insights): allow passing options to default middleware #5545

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Mar 14, 2023

Summary

This allows passing all insights middleware options to the instantsearch constructor as well, simplifying the guide on "how to use insights", even if we choose to change the default of the insights option to false

Result

insights option to InstantSearch accepts options for the insights middleware.

This allows passing all insights middleware options to the instantsearch constructor as well, simplifying the guide on "how to use insights", even if we choose to change the default of the insights option to `false`
@Haroenv Haroenv requested review from a team, FabienMotte and aymeric-giraudet and removed request for a team March 14, 2023 13:30
@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 7068e3f:

Sandbox Source
InstantSearch.js Configuration
react-instantsearch-app Configuration
example-react-instantsearch-hooks-default-theme Configuration
example-vue-instantsearch-default-theme Configuration

@Haroenv Haroenv merged commit 6345241 into feat/automatic-insights Mar 16, 2023
@Haroenv Haroenv deleted the feat/insights-options branch March 16, 2023 09:29
Haroenv added a commit that referenced this pull request Apr 18, 2023
This allows passing all insights middleware options to the instantsearch constructor as well, simplifying the guide on "how to use insights", even if we choose to change the default of the insights option to `false`
Haroenv added a commit that referenced this pull request Apr 24, 2023
This allows passing all insights middleware options to the instantsearch constructor as well, simplifying the guide on "how to use insights", even if we choose to change the default of the insights option to `false`
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