alex
Explore posts from serversDTDrizzle Team
•Created by alex on 10/17/2024 in #help
sql operator automatically inserts wrong json quotes around expression
With this I get the following error
When I try the same without the expression it works as expected and I get some rows as a result.
1 replies
nodeHTTPHandler with Nitro
I'm trying to setup trpc with nitro.unjs.io using the
node-http
adapter.
Frontend setup:
There are no TS errors anywhere so the router setup should be correct.
However the nodeHTTPRequestHandler function always returns undefined
.
I've also tried the trpc-nuxt
package because apparently that's supposed to work with Nitro but I couldn't get it to work because I'm using trpc v11.3 replies
Type safety with enabled option
https://tkdodo.eu/blog/react-query-and-type-script#type-safety-with-the-enabled-option
What is the best way to solve this with trpc?
typescript: Type 'number | null' is not assignable to type 'number'.
19 replies