mirror of https://github.com/pulumi/pulumi.git
f74a5dfec1
### Description Partially addressing https://github.com/pulumi/pulumi/issues/12710 This PR extends the nodejs SDK with functions `invokeOutput` and `invokeSingleOutput` which are the output-versioned equivalent of the plain `invoke` and `invokeSingle`. The underlying implementation doesn't rely on the plain one and properly implements output deserialization such that secrets are maintained from the invoke response. Then we extend the SDK-gen part of nodejs such that output-versioned invokes use the new primitives `invokeOutput` and `invokeSingleOutput` in their generated function body without wrapping the plain invoke. |
||
---|---|---|
.. | ||
gen_program_test | ||
tstypes | ||
doc.go | ||
doc_test.go | ||
gen.go | ||
gen_fileinfo.go | ||
gen_intrinsics.go | ||
gen_lazyloads.go | ||
gen_lazyloads_test.go | ||
gen_program.go | ||
gen_program_expressions.go | ||
gen_program_lower.go | ||
gen_program_test.go | ||
gen_program_utils.go | ||
gen_test.go | ||
importer.go | ||
test.go | ||
utilities.go | ||
utilities.ts | ||
utilities_test.go |