-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
[BUG]: Type error when using subquery in where #2395
Comments
Id be glad to attempt fixing this issue if someone is willing to guide me through it. |
I can't offer my help at this time. I haven't been able to help with drizzle development in several months. The first thing I would ask is what does the error say? |
@Angelelz, cool. Thanks for the reply. I tagged you cuz I have just interacted with you on discord. But if you feel anyone else can help with this, please feel free to tag them instead. |
fixed in |
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?0.21.1
Describe the Bug
I get the type error:
Argument of type 'Aliased' is not assignable to parameter of type 'Column<ColumnBaseConfig<ColumnDataType, string>, object, object>'.
Type 'Aliased' is missing the following properties from type 'Column<ColumnBaseConfig<ColumnDataType, string>, object, object>': table, name, primary, notNull, and 14 more.
whenever I'm creating this drizzle code:
The type error is on
ilike(tagsSubquery.tag, %${searchTerm}%),
The query works but the type error is annoying
Expected behavior
I expect no type error
Environment & setup
postgres db
The text was updated successfully, but these errors were encountered: