Closed stevendborrelli closed 2 years ago
This may be related to Configuration packages now being v1 instead of v1alpha1 https://doc.crds.dev/github.com/crossplane/crossplane/pkg.crossplane.io/Configuration/v1@v1.6.1.
This may be related to Configuration packages now being v1 instead of v1alpha1 https://doc.crds.dev/github.com/crossplane/crossplane/pkg.crossplane.io/Configuration/v1@v1.6.1.
@stevendborrelli your suspicion around v1 vs v1alpha1 seems to be spot on. If I switch the apiVersion in the crossplane.yaml to apiVersion: meta.pkg.crossplane.io/v1
and reload the IDE, the panic goes away.
It looks like we're hitting the error here https://github.com/upbound/up/blob/main/internal/xpkg/workspace/meta/meta.go#L52-L56
I'm thinking the fix for this is:
What happened?
Language server crashes with a panic when trying to use against https://github.com/upbound/platform-ref-azure.
How can we reproduce it?
v0.0.4
v0.6.0
platform-ref-azure
directory in visual studio.Produces a panic for me: