Skip to content

Allow annotating import calls #872

@hlascelles

Description

@hlascelles

We would like to annotate our imports using the Rails annotate method.

Things.annotate("NOTE_ME").scoping do
  Things.import!(stuff)
end

->

INSERT INTO ..... /* NOTE_ME */"

We are seeing that the annotation does not get used. I've had a look, but can't see an immediate reason. Is this something that is obvious to solve? If not I can look further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions