-
If non-JSON serializable data types are returned by a route (i.e. Date, Set, undefined, etc), the client would not detect this.
Eden fetch/treaty would both happily claim that the returned data is of…
-
![image](https://github.com/iway1/trpc-panel/assets/17372417/c4dd6997-d8f5-451a-829b-762fc252be3f)
-
I've followed the recommend setup for V9, however I don't get the auto-completion because $client is unknown. This happens on my own project, but also on the playground for this project.
I am using…
-
Hi Maintainers,
I'm running into `ERR_REQUIRE_ESM` error when using it in my Next.js api route to load data (` unhandledRejection: Error [ERR_REQUIRE_ESM]: require() of ES Module `).
The issue s…
-
by adding the line in main.ts:
```typescript
app.use('/trpc/*', trpcServer({
router: router,
}))
```
Got such an error for `router` prop:
```
Type 'CreateRouterInner' is not assignable t…
-
### What is the feature you are proposing?
It would be great to be able to easily override the serializer in req/res of c.json. I would like to use superjson to make date handling easier.
-
An example use-case:
````ts
export const library = {
music: {
listArtists() {
return [ /* ... */ ]
}
},
books: {
listAuthors() {
return [ /* ... */ ]
}
…
-
I am attempting to use the generated `TaskUncheckedCreateInputSchema` schema in order to validate a type on my frontend. However, the value that comes out of this is potentially leaving my Dates (the …
-
## Describe the bug
We have an incompatibility between the types returned from sequalize, zod and trpc.
@timolegros @Rotorsoft
Right now 'Date' objects come back from the db for datatime SQL…
-
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```bash
Operating System:
Platform: darwin
Ar…