-
Notifications
You must be signed in to change notification settings - Fork 150
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(dart_frog_gen): static dir inside dynamic dir #135
Conversation
c97cd0d
to
e61a67e
Compare
e61a67e
to
2c69c99
Compare
packages/dart_frog_gen/test/src/build_route_configuration_test.dart
Outdated
Show resolved
Hide resolved
108fb0c
to
eb0958f
Compare
….dart Co-authored-by: Felix Angelov <felangelov@gmail.com>
eb0958f
to
0b65c83
Compare
r'_$user_item_index', | ||
'path': '../test/.fixtures/static_dynamic_nested/routes/' | ||
'[user]/item/index.dart', | ||
'route': '/item/<user>' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be /<user>/item
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think these changes result in the intended behavior. I'm looking into this now as well
I opened #138 to address this. lmk what you think |
Closing since this should be fixed in #138 |
Status
READY
Description
It was reported on #134 that the generator doesn't recognize routes under directories in the following relationship:
This changes the generator to verify for files inside non-dynamic directories that are inside dynamic directories.
Type of Change