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(search) hits in search response are now marshalled as 'hits' #709

Merged
merged 2 commits into from
Jan 17, 2023

Conversation

aayoubi
Copy link

@aayoubi aayoubi commented Jan 3, 2023

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue None
Need Doc update no

Describe your change

The hits property in a search response (QueryRes) is now marshalled as hits instead of Hits.

What problem is this fixing?

The hits property in a search response (QueryRes) was marshalled as Hits instead of hits, which breaks an integration with InstantSearch in a back-end search implementation. The JS client requires hits.

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great catch! thanks :D

Copy link
Contributor

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks !

@millotp millotp merged commit f4c0bfd into algolia:master Jan 17, 2023
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.

3 participants