-
-
Notifications
You must be signed in to change notification settings - Fork 89
use diesel_async::RunQueryDsl::execute conflicts with meilisearch_sdk execute #114
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
Comments
Thanks for writing this bug report. Can you explain why you believe that this is an issue in |
I think it's the diesel because meilisearch doesn't use traits. I don't know if it has anything to do with it but when I used diesel::RunQueryDsl I didn't have this error. And also I get this error:
|
In that case: Please provide a minimal reproducible example of your issue. Also include information about all relevant crate versions/rustc version/…. Otherwise this issue is not actionable. |
I create a example with the issue. https://gist.github.com/javihc/1ae50c1d88c75628c21d33d3eafdd33c |
Thanks for providing this example. I still do not see how that is diesel related. In my view that's just how rusts name resolution works, which means if a trait is in scope and rustc believes it applies the relevant trait method is used. If you believe that's the wrong behavior please raise this issue in the compiler repository. There is nothing that diesel or diesel_async could do to change language level behavior. To give you a workaround: You cannot import Closed as this is not actionable on diesels side. |
Setup
Versions
Feature Flags
Problem Description
I'm using meilisearch and postgres for an API using axum and when I use meilisearch with the code:
I have and error:
The compiler things that the execute() of meilisearch is the execute() from diesel_async::RunQueryDsl.
What are you trying to accomplish?
Execute the meilisearch sdk query.
I'm using meilisearch-sdk = "0.24.2"
What is the expected output?
What is the actual output?
Are you seeing any additional errors?
Steps to reproduce
Checklist
closed if this is not the case)
The text was updated successfully, but these errors were encountered: