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

[BUG]: isTable helper function is not working #2672

Closed
hajek-raven opened this issue Jul 21, 2024 · 1 comment · Fixed by #2673
Closed

[BUG]: isTable helper function is not working #2672

hajek-raven opened this issue Jul 21, 2024 · 1 comment · Fixed by #2673
Labels
bug Something isn't working

Comments

@hajek-raven
Copy link
Contributor

hajek-raven commented Jul 21, 2024

What version of drizzle-orm are you using?

0.32.0

What version of drizzle-kit are you using?

0.23.0

Describe the Bug

isTable function is not working in 0.32.0.

My code uses isTable helper which stopped working in 0.32.0. While quickly reading through drizzle source, it seems that IsDrizzleTable Symbol is unused in the Table class, but isTable function is checking the presence of the Symbol.

Expected behavior

The function isTable should return true when called with a Table.

Environment & setup

pnpm -v
9.4.0

@AndriiSherman
Copy link
Member

Should be fixed in drizzle-orm0.33.0
Please check release notes before updating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants