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(findAnswers): expose in lite version #1227

Merged
merged 2 commits into from
Nov 18, 2020
Merged

fix(findAnswers): expose in lite version #1227

merged 2 commits into from
Nov 18, 2020

Conversation

eunjae-lee
Copy link
Contributor

@eunjae-lee eunjae-lee commented Nov 18, 2020

Summary

This PR exposes findAnswers method in the lite version. In our documents, we kind of encourage to use algoliasearch/lite a lot. So we'd better have this method in the lite version as well for better adoption.

@eunjae-lee eunjae-lee requested a review from Haroenv November 18, 2020 10:01
@Haroenv
Copy link
Contributor

Haroenv commented Nov 18, 2020

I didn't do this for bundlesize, but I guess it makes sense. You still need to update the size :)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 18, 2020

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 83906d7:

Sandbox Source
javascript-client-app Configuration

@eunjae-lee
Copy link
Contributor Author

I didn't do this for bundlesize, but I guess it makes sense. You still need to update the size :)

It didn't exceed the current threshold :)

@Haroenv
Copy link
Contributor

Haroenv commented Nov 18, 2020

can you add the integration test on browser-lite now too? it's https://github.com/algolia/algoliasearch-client-javascript/blob/master/specs/answers.spec.ts (you can see https://github.com/algolia/algoliasearch-client-javascript/blob/master/specs/search.spec.ts for lite usage)

Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

lgtm once tests pass 👍

@Haroenv Haroenv merged commit 6cb1d0a into master Nov 18, 2020
@Haroenv Haroenv deleted the fix/answers-lite branch November 18, 2020 15:08
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