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

[FIX] copyfrom imports #1626

Merged
merged 1 commit into from
May 22, 2022
Merged

Commits on May 17, 2022

  1. [FIX] copyfrom imports

    Depending on the commands used in your `query.sql` the `copyfrom.go`
    may end up with unused packge imports.
    
    There is a patch for this problem that was merged in the sqlc-dev#1386 PR.
    However, it looks like some edge cases were left out of the fix.
    
    This commit ensures that `buildImports` only has `copyfrom` queries
    when called from `copyfromImports`.
    positiveblue committed May 17, 2022
    Configuration menu
    Copy the full SHA
    d3090b2 View commit details
    Browse the repository at this point in the history