Closed hshorter closed 2 years ago
Good catch, this is currently not supported, and I don't know yet if it can be easily supported as it's not easy to determine if the file will be generated into the package where the converter definition is.
@hshorter This is issue does not occur in copygen due to its design.
When overriding the package and output the resulting generated code imports it's own package for custom implementations.
See example project: https://github.com/hshorter/goverterissue When the generate stage runs, the resulting code contains a self import error: