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

setAttributesToHighlight method should allow adding empty array #110

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RBT22
Copy link

@RBT22 RBT22 commented Mar 9, 2023

Fix for #99

setAttributesToHighlight method should allow us to add an empty Lists as per the algolia api documentation.
ref link - algolia.com/doc/api-reference/api-parameters/attributesToHighlight/#parameter-overview:~:text=Pass%20an%20empty,in%20API%20responses.

Problem was:

Uri's queryParameters parameter doesn't keep empty lists, so we have to pass those as Strings

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.

1 participant