Skip to content

Add route prefix to reserved js keyword route names #32

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

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

aktasumut34
Copy link
Contributor

This pr closes #31

We were checking names is valid typescript for methods but not for routes. This pr adds that

@joetannenbaum
Copy link
Collaborator

Thanks for the PR! I centralized the logic a bit, but otherwise looks good.

@joetannenbaum joetannenbaum merged commit e68357a into laravel:main Apr 7, 2025
4 checks passed
@io238
Copy link

io238 commented Apr 11, 2025

There still seems to be an issue with generating index.ts files with reserved names (see #38)

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.

Route generation generates invalid typescript for routes that includes reserved javascript keywords
3 participants