Spread operator on select with TypeScript #1860
Unanswered
DavideCarvalho
asked this question in
Q&A
Replies: 1 comment
-
You can use the |
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.
-
I just found out that using spread operator on select works on drizzle. IMO, it helps a lot if you need to join tables in one select, but I get typescript errors saying that "brand" and other properties are incompatible.
Is it the best way of joining tables in select with Drizzle? If it is, is there a way of mitigating those typescript errors?
Beta Was this translation helpful? Give feedback.
All reactions