Weird behaviours with sub dependencies #1342
Unanswered
augustocdias
asked this question in
Q&A
Replies: 1 comment
-
I am said colleague and have only one more bit of insight. But (and I only ran this inside a particular crate, not on the workspace level) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the sqlx cli to generate a local cache and then to check if it is up to date in the CI.
We're having a weird behaviour where I push a change and the CI fails saying the cache is not up to date. I try to generate again and it generates with no changes whatsoever. My colleague pulls my branch and generates on his machine and it generates changes which he pushes and the problem is solved. This happened the other way around too (I had to pull and generate for branches of him).
I suspect this is related to sub dependencies that also has queries inside because it is always one of those. We have a workspace with sub crates that uses sqlx. Each has its own queries. One of this projects depend on another that has also its queries. I noticed that the queries from the sub project are being generated in the sql json from both projects.
Is this the expected behaviour? Does this explain this weird issue?
Beta Was this translation helpful? Give feedback.
All reactions