-
Notifications
You must be signed in to change notification settings - Fork 222
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(recommend): remove unused trendingFacets props #1433
Conversation
.gitignore
Outdated
@@ -6,3 +6,5 @@ dist | |||
*.umd.js | |||
yarn-error.log | |||
.env | |||
|
|||
.idea/ |
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.
Make a separate PR for this
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.
it probably should just be reverted actually, local files should be in a global gitignore
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 e3e3692:
|
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.
change itself looks legit
.gitignore
Outdated
@@ -6,3 +6,5 @@ dist | |||
*.umd.js | |||
yarn-error.log | |||
.env | |||
|
|||
.idea/ |
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.
it probably should just be reverted actually, local files should be in a global gitignore
export type TrendingFacetsQuery = Omit<TrendingQuery, 'model' | 'facetValue'>; | ||
export type TrendingFacetsQuery = Omit< | ||
TrendingQuery, | ||
'model' | 'facetValue' | 'fallbackParameters' | 'queryParameters' |
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.
At this point why have a shared TrendingQuery
type if they differ so much?
According to the API endpoints:
- Trending facets
facetName
: required
- Trending items
facetName
: optionalfacetValue
: optional
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.
Yeah that's a good point
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.
yeah, i wanted to do that in a separate PR, both for client and for the libs
Remove
fallbackParameters
andqueryParameters
given that the recommend API does not support these props.🐛 : JIRA