Types for apiVersion, kind, metadata, status should not also accept undefined #34
Labels
area/codegen
Affects quality or correctness of generated code
kind/enhancement
Improvements or new features
language/javascript
resolution/fixed
This issue was fixed
Expected behavior
Typedefs for k8s should not also accept
... | undefined
Current behavior
Currently the generated code produces the following incorrect typedefs:
These need to be corrected to:
See example of a k8s Deployment in
pulumi-kubernetes
that follows suit with the proposed corrections.Related:
The text was updated successfully, but these errors were encountered: