-
Notifications
You must be signed in to change notification settings - Fork 529
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 searchForFacetValues for composition #6489
feat: add searchForFacetValues for composition #6489
Conversation
if (this.compositionID) { | ||
mainHelper.searchForFacetValues = | ||
mainHelper.searchForCompositionFacetValues.bind(mainHelper); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went with this approach because it allows things to be completely transparent for connectRefinementList
, but I'm open to suggestions
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 7d594f3:
|
Co-authored-by: Haroen Viaene <hello@haroen.me>
Once we're aiming for GA with composition, I'd like to see a plan how the search and sffv methods could be the same between search and composition. |
Summary
adding support for
SearchForFacetValues
when using Composition APIEMERCH-1745
Result
there is a small bug on the API side which result in highlighting not working as expecting in the facet values, but that doesn't affect the implementation as the fix should be transparent API-wise