Skip to content
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

Fix sqlx compilation errors #217

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Fix sqlx compilation errors #217

merged 1 commit into from
Oct 9, 2023

Conversation

WuBruno
Copy link
Contributor

@WuBruno WuBruno commented Oct 6, 2023

As mentioned by @DronHazra, offline builds are currently not being supported because the .sqlx folder is not populated appropriately with the necessary data for the compiler to validate the query data types. Since I had a instance of fully populated local Postgres DB, I have used it to update the .sqlx files appropriately.

What this means is that if you clone this repo and run: cargo build it should work seamlessly.

https://zilliqa-team.slack.com/archives/C04D147S9QX/p1696515902983839?thread_ts=1696508639.985359&cid=C04D147S9QX

@WuBruno WuBruno merged commit e18a6fc into main Oct 9, 2023
6 of 14 checks passed
@WuBruno WuBruno deleted the fix-sqlx-compilation branch October 9, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants