DefGuard / DefGuard/client

`cargo sqlx prepare` removes a Windows only query cache

Open
#487 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
369
Forks
39
Avg merge
21h 2m
Merged PRs (30d)
32

Description

When updating the sqlx query cache for CI we usually just run `cargo sqlx prepare -- --all-targets --all-features --tests`.
This should in theory find all the queries for all platforms but for whatever reason it removes cache for a query in `Location::all()` method, which is Windows-only.

As a workaround one can explicitly target the Windows platform, but this in turn removes some other unrelated non-Windows queries, so some manual intervention is required.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.