server fn error in fresh trellaux example
I decided to start learning about tanstack start by running the trelleaux example but I hit an exceptioin when hovering on the "first board" it creates:
2 Replies
compatible-crimsonOP•7mo ago
I've recreated the issue on codesandbox here: https://codesandbox.io/p/devbox/5gd45g
The only setup was as recommended in the quick start guide:
Any suggestion on what might be wrong?
I put some debug logging in and I discovered:
* The getBoard() call in queries.ts on the client has a proper id=1
* The server-side validator sees the id as undefined.
I'm interested in learning to debug server function calls in a case like this.
absent-sapphire•6mo ago
Looks like the example was never updated when we moved to having the server function input be nested under
data
.
This'll be fixed shortly.
This has been fixed and merged into main.