-
Notifications
You must be signed in to change notification settings - Fork 40.6k
code-generator/applyconfiguration-gen: Embedding imported Type results in <.EmbeddedIn.MemberType.Elem.Name.Name>: nil pointer evaluating *types.Type.Name #131533
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
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Comments
/sig api-machinery |
cc @skitt |
/cc @Jefftree |
/assign |
skitt
added a commit
to skitt/kubernetes
that referenced
this issue
May 6, 2025
This is based on the reproducer for kubernetes#131533. Signed-off-by: Stephen Kitt <skitt@redhat.com>
skitt
added a commit
to skitt/kubernetes
that referenced
this issue
May 6, 2025
This is based on the reproducer for kubernetes#131533. Signed-off-by: Stephen Kitt <skitt@redhat.com>
skitt
added a commit
to skitt/kubernetes
that referenced
this issue
May 14, 2025
This is based on the reproducer for kubernetes#131533. Signed-off-by: Stephen Kitt <skitt@redhat.com>
k8s-publishing-bot
pushed a commit
to kubernetes/code-generator
that referenced
this issue
May 20, 2025
This is based on the reproducer for kubernetes/kubernetes#131533. Signed-off-by: Stephen Kitt <skitt@redhat.com> Kubernetes-commit: c374ab81185e59a4c3a7584c597917bf9dcc20ca
joshjms
pushed a commit
to joshjms/kubernetes
that referenced
this issue
May 26, 2025
This is based on the reproducer for kubernetes#131533. Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Uh oh!
There was an error while loading. Please reload this page.
Using applyconfiguration-gen with the following type produces an error
Not embedding the field works:
Also confirmed that Embedding local types works fine, but not for an imported type.
This is with
k8s.io/code-generator v0.32.3
To reproduce:
make go-generate-apis
The text was updated successfully, but these errors were encountered: