You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might not be a bug, but seems like something that we should be able to do to take advantage of type safety in routing. Cannot use redirect method from within APIRoute. Can use the raw response object way of doing things, but leveraging the redirect primitive for type safety would be nice.
Which project does this relate to?
Start
Describe the bug
Might not be a bug, but seems like something that we should be able to do to take advantage of type safety in routing. Cannot use redirect method from within APIRoute. Can use the raw response object way of doing things, but leveraging the redirect primitive for type safety would be nice.
Your Example Website or App
https://github.com/uap-dev/before_load_error/tree/api_route_no_redirect
Steps to Reproduce the Bug or Issue
redirect
primitive from@tanstack/react-router
Expected behavior
Would expect to be able to leverage
redirect
for type safety inside API routes.Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: