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

Module route plural paths & names #1908

Conversation

solomon-ochepa
Copy link
Contributor

Based on #949

  • Added two new replacements - PLURAL_LOWER_NAME and PLURAL_STUDLY_NAME
  • Generate modules route path in a plural name (e.g. /users, /posts, etc.)
  • Allow the route resource to auto-generate its name from the path.
  • Added the a new replacement to the config file

@dcblogdev
Copy link
Collaborator

thanks but this will break people's projects that don't have the new key names in their config. I don't think this is needed.

@dcblogdev dcblogdev closed this Sep 10, 2024
@solomon-ochepa
Copy link
Contributor Author

This feature is needed, however you are right about it breaking existing projects.

I'll add a fallback key and apply for reopening.

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.

2 participants