k8s-pb icon indicating copy to clipboard operation
k8s-pb copied to clipboard

`IntOrString` needs a wrapper

Open kazk opened this issue 3 years ago • 1 comments

https://github.com/kube-rs/k8s-pb/blob/7b4bf26bebcaed0ee1ff5286ad8ba3747368b517/k8s-pb-codegen/protos/apimachinery/pkg/util/intstr/generated.proto#L36-L42

kazk avatar Oct 31 '21 08:10 kazk

Presumably to get an enum rather than a struct? We don't actually have any enums in the out directory at all.

The generated k8s-openapi one is marked as having alternative codegen and some special schema handling.

clux avatar Oct 31 '21 09:10 clux