We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$page.params
Hi great people!
Sometimes it happens I forget to change code I copy from other files and I do not get errors if the params are wrong:
Example in src/routes/players/[player_id]/+page.svelte, this is wrong:
src/routes/players/[player_id]/+page.svelte
playerId={$page.params.team_id}
it should be:
playerId={$page.params.player_id}
Is there a way to make the compiler shout that that param is wrong in that place?
I don't really know.
No response
would make my life easier
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the problem
Hi great people!
Sometimes it happens I forget to change code I copy from other files and I do not get errors if the params are wrong:
Example in
src/routes/players/[player_id]/+page.svelte
, this is wrong:it should be:
Is there a way to make the compiler shout that that param is wrong in that place?
Describe the proposed solution
I don't really know.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered: