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

Plank generating conflicting enum name #119

Closed
ay8s opened this issue Feb 14, 2018 · 0 comments
Closed

Plank generating conflicting enum name #119

ay8s opened this issue Feb 14, 2018 · 0 comments

Comments

@ay8s
Copy link
Contributor

ay8s commented Feb 14, 2018

In the Buffer API for profiles we have both a service and a service_type. When we add these to our scheme as String Enums we only get BFRProfileServiceType outputted as all enums get the suffix 'Type'.

From our side I think we'd be happy with BFRProfileService as the name and have 'Type' dropped which would resolve the conflict.

func enumTypeName(propertyName: String, className: String) -> String {

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