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

go generator will create import statements for non-existent packages when creating enums containing a period #278

Open
ericmittelhammer opened this issue Nov 6, 2017 · 0 comments

Comments

@ericmittelhammer
Copy link

When creating an enum, the go generator calls importBuilder.publicName on the enum name, which then calls ensureImport.

This will create an import statement for any part of a enum name preceding a period.

eg: This results in import "memberships" in the generated client, which doesn't exist.

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