Skip to content

query_file_as doesn't pick up .sql changes #663

@leebenson

Description

@leebenson

I'm not sure if this is something that sqlx is best placed to solve, or whether this is more the domain of cargo, but I noticed that changes to .sql files referenced in query_as_file! aren't picked up in subsequent cargo operations.

This can lead to some subtle bugs where a query did work, but was since changed and not picked up in the next build.

Curious if there's a recommended approach to solving this. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions