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

Cannot get symbol type value in params #3148

Closed
M0j1 opened this issue Mar 18, 2020 · 1 comment
Closed

Cannot get symbol type value in params #3148

M0j1 opened this issue Mar 18, 2020 · 1 comment

Comments

@M0j1
Copy link

@M0j1 M0j1 commented Mar 18, 2020

Version

3.1.6

Reproduction link

https://codesandbox.io/s/wandering-shape-utn95

Steps to reproduce

Jumping from the HOME page to the User page, the params carry a value of symbol type key, but the params obtained on the user page do not contain a value of type symbol

What is expected?

I can get the key of symbol type and use it

What is actually happening?

In the params passed, the symbol type key cannot be obtained, and the Google console cannot see it


v3.1.3 can get it.

@posva

This comment has been minimized.

Copy link
Member

@posva posva commented Mar 18, 2020

params can only contain declared properties in the path. In your case, id is the only param that can be used in /users/:id

@posva posva closed this Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.