Open calebvetter opened 1 year ago
I noticed that the data in also null within the check
callback
Hey @calebvetter :wave: Thanks for creating an issue and sorry for my absence lately.
This sounds like a bug, indeed. I will investigate it over the weekend and push a fix. Thanks for the additional feedback @tapizquent
Describe the bug I have data that I'm passing to my
HomeLocation()
. When aBeamGuard
checks requirements, fails, and runsonCheckFailed
, the locationdata
originally passed is not present inlocation.data
.Beamer version: 1.5.3
To Reproduce Add
BeamGuard
to delegate.Try to beam to a guarded page.
The route is successfully intercepted, the
location
is theHomeLocation()
as expected, but thelocation.data
object is null, so it can't be passed on to the redirected page.Expected behavior
location.data
in theonCheckFailed
function to have the data passed in the originalbeamToNamed
call.