Which project does this relate to?
Start
Describe the bug
Start Server Functions don't respect TanStack Router specified transformers.
See pictures below:
SuperJSON is specified

Function returns a Date, with the proper type

Loader gets the incorrect type (the actual value is just a stringified date)

Your Example Website or App
https://github.com/AlexGaudon/start-date-repro
Steps to Reproduce the Bug or Issue
- Clone the repo
- Run
bun install - Run
bun --bun run dev - Navigate to http://localhost:3000 and observe the error
Expected behavior
As a user, I expect server functions to automatically conform to the transformer specified.
Screenshots or Videos
No response
Platform
- OS: macOs
- Browser: Chrome + FireFox
- Version: latest
Additional context
No response
Which project does this relate to?
Start
Describe the bug
Start Server Functions don't respect TanStack Router specified transformers.
See pictures below:
SuperJSON is specified

Function returns a

Date, with the proper typeLoader gets the incorrect type (the actual value is just a stringified date)

Your Example Website or App
https://github.com/AlexGaudon/start-date-repro
Steps to Reproduce the Bug or Issue
bun installbun --bun run devExpected behavior
As a user, I expect server functions to automatically conform to the transformer specified.
Screenshots or Videos
No response
Platform
Additional context
No response