go generator will create import statements for non-existent packages when creating enums containing a period
Opened this issue · 0 comments
ericmittelhammer commented
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.