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

chore: Friendly error text when routes are not found #491

Open
rdlabo opened this issue May 29, 2023 · 0 comments
Open

chore: Friendly error text when routes are not found #491

rdlabo opened this issue May 29, 2023 · 0 comments

Comments

@rdlabo
Copy link
Contributor

rdlabo commented May 29, 2023

Currently, when in Standalone configuration and Route is not found, the following error is displayed

Could not find your routes file. Use the skip-import option to skip importing.

The toolkit knows if a route file is a route file if the naming convention matches /.routes.ts/. However, the file name can be changed at will. So, how about adding a sentence to the error statement such as "routes files are detected based on whether they match /.routes.ts/"?

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

1 participant