Skip to content

fix(recommend): Align getRecommendations type with actual implementation#1459

Merged
shortcuts merged 2 commits into
masterfrom
fix/get-recommendations-query-type
May 15, 2023
Merged

fix(recommend): Align getRecommendations type with actual implementation#1459
shortcuts merged 2 commits into
masterfrom
fix/get-recommendations-query-type

Conversation

@raed667

@raed667 raed667 commented May 15, 2023

Copy link
Copy Markdown
Contributor

As defined in getRecommendations.ts, a query is defined as ReadonlyArray<RecommendationsQuery | TrendingQuery>

But in WithRecommendMethods.ts it seems that the definition is outdated.

Should help get the PR algolia/recommend#131 moving.

@codesandbox-ci

Copy link
Copy Markdown

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 a58f790:

Sandbox Source
javascript-client-app Configuration

@raed667

raed667 commented May 15, 2023

Copy link
Copy Markdown
Contributor Author

It seems I'm not authorized to merge @Haroenv could you please have a look?

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.

4 participants