Open antonmoiseev opened 5 days ago
Hey @antonmoiseev! Just confirmed this. I agree it's not exactly what one would expect. To navigate with the real undefined
and to get the string "undefined"
in the params.
Do you want to implement a fix for this one too? No pressure of course we can add it to our internal list if you don't have the time. Your contributions are awesome and always appreciated!
I'd be happy to! Spending more time on a Redwood project now, glad to contribute back to the extent of my capacity.
Perfect if you need anything just let me know!
@Josh-Walker-GM linking the PR here - https://github.com/redwoodjs/redwood/pull/11635
Awesome! Feel free to request a review or otherwise ping me once you're happy with it and I can review and get it in.
It's ready, please review whenever you have a chance
What's not working?
Functions generated for named routes, do not filter out query string params with
undefined
values. They do so for path params , but not for query.How do we reproduce the bug?
Assuming you have a Redwood app with "home" route. Pass any args to the generated
routes.home()
function that have undefined value:What's your environment? (If it applies)
Are you interested in working on this?