Skip to content
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

fix: update k8s.io/gengo/v2 version to fix unsupported type warning #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dongjiang1989
Copy link

@dongjiang1989 dongjiang1989 commented Jan 22, 2025

When I used the gen-crd-api-reference-docs tool, I found a warning and found that it had been fixed in gengo, and verified that the warning no longer appeared.

ref: https://tip.golang.org/doc/go1.23#gotypespkggotypes

some warning:

W1015 16:21:58.244775   18153 parse.go:769] Making unsupported type entry "any" for: &types.Alias{obj:(*types.TypeName)(0x140001beb90), orig:(*types.Alias)(0x140001900c0), tparams:(*types.TypeParamList)(nil), targs:(*types.TypeList)(nil), fromRHS:(*types.Interface)(0x140001beaf0), actual:(*types.Interface)(0x140001beaf0)}
W1015 16:21:58.245160   18153 parse.go:769] Making unsupported type entry "reflect.uncommonType" for: &types.Alias{obj:(*types.TypeName)(0x14009946cd0), orig:(*types.Alias)(0x14004608780), tparams:(*types.TypeParamList)(nil), targs:(*types.TypeList)(nil), fromRHS:(*types.Named)(0x1400088ea80), actual:(*types.Named)(0x1400088ea80)}

Fixed in k8s.io/gengo/v2: kubernetes/gengo#274

@dongjiang1989 dongjiang1989 changed the title fix: k8s.io/gengo/v2 unsupported type warning fix: update k8s.io/gengo/v2 version to fix unsupported type warning Jan 22, 2025
@dongjiang1989
Copy link
Author

cc @ahmetb PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant