Replies: 1 comment
-
I have the same issue... getting arguments from Middleware always return null. I'm using middleware to avoid users to access an specific route from a multistep form in which step x needs arguments from step x - 1. I also tried to make the redirect like this: ` ` but I get other errors because is rendering while setting State. Anybody has solve this? @jasonlaw |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've just implemented GetMiddleware on my project. I thought it was good to validate the data right before the page was called, but I found a problem with my implementation.
AppPage Routes:
Code to call a page
CheckProfileMiddleware
Result
Arguments always return null
I can't use parameters because I need to parse object data as default value for the page.
Please help.
Beta Was this translation helpful? Give feedback.
All reactions