-
Notifications
You must be signed in to change notification settings - Fork 832
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
Unused imports generated in querier interfaces. #2707
Comments
@coady Could you provide a bit more context here? In what files do the extra imports appear? |
I also have this issue. For me, the file defined by |
|
Also seeing this problem, when setting Unused Imports in
sqlc.yaml Configuration:
|
Version
1.21.0
What happened?
As of 1.21, querier interfaces are being generated with unused imports, breaking compilation. The configuration uses multiple packages, and of course
emit_interface
.Relevant log output
Database schema
No response
SQL queries
No response
Configuration
Playground URL
No response
What operating system are you using?
No response
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: