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

Add SQLx query files as generated #6748

Merged
merged 3 commits into from
Mar 12, 2024
Merged

Add SQLx query files as generated #6748

merged 3 commits into from
Mar 12, 2024

Conversation

mercxry
Copy link
Contributor

@mercxry mercxry commented Mar 12, 2024

Mark **/.sqlx/query-*.json files as generated and added a test for it.

Description

SQLx is a Rust SQL library (11.4k stars) which generates **/.sqlx/query-*.json files in offline mode (enabled by default).
These are used to be able to compile a project without requiring the development database to be online.

I would like Github to automatically hide these files from diffs, since it could generate lots of files and it's a bit annoying to hide them manually one by one in each PR.

Checklist:

@mercxry mercxry requested a review from a team as a code owner March 12, 2024 01:18
lib/linguist/generated.rb Outdated Show resolved Hide resolved
@lildude lildude added this pull request to the merge queue Mar 12, 2024
Merged via the queue into github-linguist:master with commit ca188d5 Mar 12, 2024
5 checks passed
@mercxry mercxry deleted the sqlx-generated branch March 12, 2024 13:28
@lildude lildude mentioned this pull request Mar 12, 2024
4 tasks
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants