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

fix: route not found if you have folder with file under parameter #134

Closed
dom3lek opened this issue Jul 4, 2022 · 2 comments · Fixed by #138
Closed

fix: route not found if you have folder with file under parameter #134

dom3lek opened this issue Jul 4, 2022 · 2 comments · Fixed by #138
Assignees
Labels
bug Something isn't working as expected

Comments

@dom3lek
Copy link

dom3lek commented Jul 4, 2022

Description

Basically, if you have nested folder including parameters the routes are not being found.

Steps To Reproduce

  1. Create simple structure: test/[id]/test2/index.dart
  2. Try to execute the call, the route will not be found.

Expected Behavior

The route should be reachable as test/$id/test2 and test/$id/test2/

Additional Context

The problem does not appear if you put index.dart directly in [id] folder.

@felangel
Copy link
Contributor

felangel commented Jul 4, 2022

@dom3lek this should be resolved in dart_frog_cli v0.0.2-dev.8

@dom3lek
Copy link
Author

dom3lek commented Jul 4, 2022

Thanks, I will give that try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants