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

Pluralize metadata name for 1:1 relationship #9

Open
indaco opened this issue Mar 17, 2022 · 0 comments
Open

Pluralize metadata name for 1:1 relationship #9

indaco opened this issue Mar 17, 2022 · 0 comments
Assignees

Comments

@indaco
Copy link
Member

indaco commented Mar 17, 2022

Is your feature request related to a problem? Please describe.

It is annoying to model a metadata for a 1:1 relationship with a syntactically incorrect name.

E.g. I have a category metadata for my portfolio projects. This is translated in the following route:

/projects/category/[slug]

but the correct one should be /projects/categories/[slug]

Describe the solution you'd like

pluralize metadata names

  • category -> categories
  • project -> projects
  • ..

Describe alternatives you've considered

I can create a 1:1metadata directly with the plural form of its name but it is not the natural way of thinking.

Additional context
N/A

@indaco indaco added enhancement New feature or request invalid This doesn't seem right labels Mar 17, 2022
@indaco indaco self-assigned this Mar 17, 2022
@indaco indaco removed the invalid This doesn't seem right label Mar 17, 2022
@indaco indaco added nice-to-have and removed enhancement New feature or request labels Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant