When calling getRecommendations we need to make sure that the user doesn't have to pass objectID for the model recommended-for-you.
Otherwise this error will occur:
Property 'objectID' is missing in type '{ indexName: string; model: "recommended-for-you"; fallbackParameters: RecommendSearchOptions | undefined; queryParameters: (RecommendSearchOptions & { ...; }) | undefined; maxRecommendations: number | undefined; }' but required in type 'RecommendationsQuery'.
The fix should be a patch since the model is not publicly available yet.
When calling
getRecommendations
we need to make sure that the user doesn't have to passobjectID
for the modelrecommended-for-you
.Otherwise this error will occur:
The fix should be a patch since the model is not publicly available yet.