Skip to content

Move to one-file-per-query for sqlx-cli prepare #570

Closed
@mehcode

Description

@mehcode

This seems to have a lot of advantages and I can't remember why we didn't do this originally.

  • git merge won't get in the way
  • orphan query files are currently a problem so this is a net zero
  • we already collect to multiple files during build
  • we could make cargo build transparently always do cargo sqlx prepare and leave the latter as a "make sure" / verify step

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions