tcncloud/protoc-gen-persist

before/after hook imports are not added if there is no type mapping

iamneal opened this issue · 0 comments

If you try to use the before/after hook options, and you don't have a type mapping defined, the imports are not added to your project.

The problem is in processImports() method generator/method.go