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

Enum type ignores modelsuffix #292

Open
mojidabckuu opened this issue Dec 17, 2021 · 1 comment
Open

Enum type ignores modelsuffix #292

mojidabckuu opened this issue Dec 17, 2021 · 1 comment

Comments

@mojidabckuu
Copy link
Contributor

If I add modelSuffix option then only objects generated with suffix.
Looking into the code I found this line in Swift code fornatter

return escapeType("\(modelPrefix)\(name.upperCamelCased())")

Shall we add enum suffix support?

@yonaskolb
Copy link
Owner

Yeah I can see value in that. How do you use the modelPrefix? For organisational namespacing, or avoiding collisions?

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

2 participants