We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So my mysql instance is up and working:
and I have the sqlx cli installed:
> cargo sqlx --version cargo-sqlx 0.6.2
and the same url is in the .env file, but when I try to generate the sqlx-data.json, all I get is this:
sqlx-data.json
> cargo sqlx prepare error: EOF while parsing a value at line 1 column 0
How do I properly generate the offline files? I feel that spinning up a database during the build step would be a ridiculous thing to do.
The text was updated successfully, but these errors were encountered:
For me, this was caused by an issue when running cargo metadata - could you check whether that completes successfully for you?
cargo metadata
Sorry, something went wrong.
It produces 2MB worth of JSON. metadata.txt
Ok, I solved it by updating a different crate in the workspace. No idea how this caused this issue, but the error message is totally unclear.
No branches or pull requests
So my mysql instance is up and working:
and I have the sqlx cli installed:
and the same url is in the .env file,
but when I try to generate the
sqlx-data.json
, all I get is this:How do I properly generate the offline files? I feel that spinning up a database during the build step would be a ridiculous thing to do.
The text was updated successfully, but these errors were encountered: