Skip to content

Generate proper route names when using custom names#29

Open
kkalisz wants to merge 3 commits intoStacked-Org:mainfrom
kkalisz:bugfix/propper_constructor_parameters
Open

Generate proper route names when using custom names#29
kkalisz wants to merge 3 commits intoStacked-Org:mainfrom
kkalisz:bugfix/propper_constructor_parameters

Conversation

@kkalisz
Copy link

@kkalisz kkalisz commented Jul 8, 2024

Issue:
When MaterialRoute is created with custom name, generator ignores custom name and create Route based on raw page value

before

        MaterialRoute(page: WorkoutListView, path: 'workout', name: 'workoutListHome'),
        MaterialRoute(page: RoutineListView, path: 'routine', name: 'routineListHome'),

err2

after fix

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant