You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was configuring the dynamic routes theme of my project along with establishing a limit route, as could be done in previous versions and unfortunately I see that it does not work, that it does not correctly detect that limit.
It is true that I see in the documentation that this option is no longer described, perhaps it has been removed and I have not realized it, it would be a shame if it were removed, it seemed super useful to me.
What happens is that if I have a structure like this:
Now, when I start testing the routes, if I do enter "ids" up to "n" times like:
/product/2292
/product/2/2/3/3/3839
/product/25/29/2/233
This will render it correctly by taking the corresponding to src/routes/product/[...productIds]/index.tsx
The extract info productIds
2292
2/2/3/3/3839
25/29/2/233
On the other hand, in previous versions if you did, taking into account that the details directory is a child element, if we put "details" at the end of any of the continuation of the previous routes, apart from not showing "details", it did like a kind of limit.
Example:
/product/2292/details
/product/2/2/3/3/3839/details
/product/25/29/2/233/details
Previously it would return us by entering these routes
2292
2/2/3/3/3839
25/29/2/233
Currently returns this, without limiting it
2292/details
2/2/3/3/3839/details
25/29/2/233/details
This has changed? Or is there some problem in operation?
Thank you very much, I hope I have provided enough information and if you have removed this functionality, apologies in advance, I have not found out :(
Which component is affected?
Qwik City (routing)
Describe the bug
Good morning,
I was configuring the dynamic routes theme of my project along with establishing a limit route, as could be done in previous versions and unfortunately I see that it does not work, that it does not correctly detect that limit.
It is true that I see in the documentation that this option is no longer described, perhaps it has been removed and I have not realized it, it would be a shame if it were removed, it seemed super useful to me.
What happens is that if I have a structure like this:
Reproduction
https://github.com/Qwik-Spanish/qwik-routing-bug
Steps to reproduce
npm create qwik@latest
Empty App
template.src/routes/product/[...productIds]/index.tsx
:src/routes/product/[...productIds]/details/index.tsx
:Now, when I start testing the routes, if I do enter "ids" up to "n" times like:
This will render it correctly by taking the corresponding to
src/routes/product/[...productIds]/index.tsx
The extract info
productIds
On the other hand, in previous versions if you did, taking into account that the details directory is a child element, if we put "details" at the end of any of the continuation of the previous routes, apart from not showing "details", it did like a kind of limit.
Example:
Previously it would return us by entering these routes
Currently returns this, without limiting it
This has changed? Or is there some problem in operation?
Thank you very much, I hope I have provided enough information and if you have removed this functionality, apologies in advance, I have not found out :(
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: