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

Prefix route constants in generated router switch statements with router class #9

Closed
kuhnroyal opened this issue Dec 20, 2019 · 2 comments

Comments

@kuhnroyal
Copy link
Contributor

I just had a conflict with a route named settings. This conflicts in the generated router class with RouteSettings settings.

This can simply be fixed by always prepending the router class to all constant expressions:

case settings: // conflict
// to
case AppRouter.settings:
@Milad-Akarie
Copy link
Owner

I'll take a look at it.

@Milad-Akarie
Copy link
Owner

done in version 0.2.1.

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

No branches or pull requests

2 participants