-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error: No named parameter with the name 'maxFacetHits'. maxFacetHits: maxFacetHits #151
Comments
+1 @hgtucel, a quick workaround could be to downgrade all the algolia-related dependencies of algoliasearch-helper-flutter to the previous version. This can be done directly inside your
Hope this helps in the meantime. |
I got same error |
Looks like this is the commit that caused the issue: algolia/api-clients-automation#4108 |
I'm experiencing the same issue. 1.1.0 is unusable. |
Getting the same error. @luca-biagetti work around seems to be working. |
I am also having this issue. Any comments from Algolia team? |
I have been having this issue since November. I did override dependencies but the error didn't go away. I go to algolia_cleint_estensions.dart and literally commented out maxFacetHits from AlgolisSearchStateExt class. The error goes away for now.. but Im not sure what kind of error I will get in the near future. In November, I resolved this issue by downgrading the package. But Im required to update other packages so I had to upgrade this package.. I get stuck at this error. Hope the team would resolve this issues as soon as possible. |
../../../.pub-cache/hosted/pub.dev/algolia_helper_flutter-1.1.0/lib/src/service/algolia_client_extensions.dart:41:7: Error: No named parameter with the name 'maxFacetHits'.
maxFacetHits: maxFacetHits,
^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dev/algolia_client_search-1.27.2/lib/src/model/search_for_hits.dart:21:9: Context: Found this candidate, but the arguments don't match.
const SearchForHits({
^^^^^^^^^^^^^
I get an error and the project does not run.
OS: Android,iOS
Library Version: 1.1.0
Flutter sdk: ^3.5.1
The text was updated successfully, but these errors were encountered: