Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route.settings property return null in RouterObserver #664

Open
rahmanrezaee opened this issue May 2, 2024 · 1 comment
Open

route.settings property return null in RouterObserver #664

rahmanrezaee opened this issue May 2, 2024 · 1 comment

Comments

@rahmanrezaee
Copy link

Describe the bug
I try to observer the route changes and I have to use RouteObserver which gives me to listen when the user push or pop and replacement but I'm not able to get the value of route.settings object property and return null
but strange is that while a print toString it returns value in the correct format

**Beamer version: v1.6.1

To Reproduce
Steps to reproduce the behavior:

  1. Make a RouteObserver
  2. and override a method of them like didPush
  3. and print('${route.settings.name}'); // its return null instead current URL like '</>'
  4. See debugs

Expected behavior
it must return the value of the URL and argument

Screenshots
image
image
image

Desktop:

  • Browser [Chrome]
@rahmanrezaee
Copy link
Author

any update? @timshadel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant