Is Drizzle schema/inferred types safe for the client? #3556
Unanswered
dasveloper
asked this question in
Q&A
Replies: 1 comment
-
you will get error doing so, can't import anything from drizzle schema folder to client folder |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using Next.js 14 + Drizzle. I have this simple schema that uses
inferInsert/inferSelect
to get types:Can I safely import and use this file for the types in a Next client component like this:
Beta Was this translation helpful? Give feedback.
All reactions