You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2217 fixed pointer overrides imports in file model.go, but the same problem still exists where the import is required in queries generated file, e.g., in generated function args.
I'll fix it in a PR soon.
// Code generated by sqlc. DO NOT EDIT.// versions:// sqlc v1.18.0// source: query.sqlpackage db
import (
"context"// <- missing import t here
)
consttest=`-- name: test :execUPDATE foo SET langs = $1`func (q*Queries) test(ctx context.Context, langs*t.Text) error {
_, err:=q.db.ExecContext(ctx, test, langs)
returnerr
}
Relevant log output
No response
Database schema
CREATETABLEfoo (
other textNOT NULL,
total bigintNOT NULL,
tags text[] NOT NULL,
byte_seq byteaNOT NULL,
retyped textNOT NULL,
langs text[]
);
Uh oh!
There was an error while loading. Please reload this page.
Version
1.18.0
What happened?
#2217 fixed pointer overrides imports in file model.go, but the same problem still exists where the import is required in queries generated file, e.g., in generated function args.
I'll fix it in a PR soon.
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/d84fa60baac2c630ced0f988c11ee619f0f77dd2f6b38fc71679accbcd0d8255
What operating system are you using?
macOS
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: