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

Support model names that end in id #39

Open
janvt opened this issue Apr 3, 2023 · 1 comment
Open

Support model names that end in id #39

janvt opened this issue Apr 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@janvt
Copy link
Contributor

janvt commented Apr 3, 2023

When generating a model with a name that ends in id and asking it to generate an identity, the identity class is not suffixed with an additional Id, leaving both classes called the same. I suppose the same would happen with uuid.

@janvt janvt added the bug Something isn't working label Apr 3, 2023
@janvt janvt changed the title Support models that end in id Support model names that end in id Apr 3, 2023
@janvt
Copy link
Contributor Author

janvt commented Apr 3, 2023

One could argue that the model name should not end in id. However a model could be called HorseCupid or Paraboloid and the issue would also persist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant