Skip to content

SQL mutations #1360

Open
Open
@swistak35

Description

I've thought recently about rewriting part of my code to use (almost, because escaping is still useful for security) raw SQL instead of ActiveRecord code. Of course that would result in the raw SQL strings not being covered by mutation tests. Have you ever thought about mutating SQLs, or maybe more reasonably, having ability to integrate with external tooling which could mutate SQL queries (or something very close to them, because again, escaping). SQL could be differentiated from other strings by using specific heredoc 😉 More like a dream/discussion than the feature suggestion, but I'm curious whether you were thinking about it at any point.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions