Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/crd: fix alias conversion to schema with gotypesalias=1
This patch will be needed when upgrading to Go 1.23 as type alias now generate a proper type (instead of directly being the basic type they alias to), see https://pkg.go.dev/go/types#Alias for more info. This just reproduces the old behavior by retrieving the underlying type from the alias. If needed, we could treat alias more gracefully to make the type ref link now that we have all the type information. Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
- Loading branch information