kpt icon indicating copy to clipboard operation
kpt copied to clipboard

WIP: deepcopy-gen: hack to ensure directory name is set

Open justinsb opened this issue 3 years ago • 1 comments

When we use --input-dirs ./... deepcopy-gen / defaulter-gen cannot determine the package name, it appears (unless GOPATH is set).

Instead use the fully-qualified path as we're using for other generators.

../<dirname> also works but is not consistent with our other generators.

justinsb avatar Jul 01 '22 11:07 justinsb

Let's not merge yet, I'm trying to figure out all the intricacies here!

justinsb avatar Jul 01 '22 11:07 justinsb