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. |
||
---|---|---|
.. | ||
types | ||
README.md | ||
codegen-manifest.json | ||
component.ts | ||
doFoo.ts | ||
index.ts | ||
package.json | ||
provider.ts | ||
tsconfig.json | ||
utilities.ts |