[sdk/nodejs] YAML support broken with v3.6.0 codegen #1645
Labels
emergent
An issue that was added to the current milestone after planning
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
The NodeJS codegen has changed all of the
getResourceProperty
methods and broken a test. The change is from https://github.com/pulumi/pulumi/blame/2781cf03fee77ea09286d442ffe3a01e6823322c/pkg/codegen/nodejs/gen.go#L1878 in pulumi/pulumi#7059 and results in| undefined
being added to all the types.I tracked this down to the
LanguageResources
method in the codegen, which isn't accounting for the Language metadatarequiredOutputs
setting.For example, the
v1:Service
type has the following metadata in the schema which is ignored in theLanguageResources
used to generate the YAML overlay:Originally posted by @lblackstone in #1640 (comment)
The text was updated successfully, but these errors were encountered: