-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
"asPath" is missing in url objects #2987
Comments
@gwn do you have a code sample? I can access it in
returns
|
@azza85 I know what he means 😄 Every top level page automatically gets |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
"asPath" information should be present in url objects that are passed as
properties to components, as documented in:
https://github.com/zeit/next.js/blob/master/readme.md#with-link
Current Behavior
"asPath" is not present in url objects
Steps to Reproduce (for bugs)
Notes
I'm aware that I can get "asPath" from the router object, but it looks like I should be able to get it from the url object as well.
The text was updated successfully, but these errors were encountered: