pulumi/pkg/codegen/nodejs
Zaid Ajaj f74a5dfec1
[nodejs] First-class output-versioned invokes (#17237)
### 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.
2024-09-16 15:39:46 +00:00
..
gen_program_test Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
tstypes turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
doc.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
doc_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
gen.go [nodejs] First-class output-versioned invokes (#17237) 2024-09-16 15:39:46 +00:00
gen_fileinfo.go [codegen/node] Implement support for lazy-loaded Node modules (#10538) 2022-09-01 18:42:44 -04:00
gen_intrinsics.go
gen_lazyloads.go pkg/codegen/nodejs: Prefer contract.Assertf over Assert 2023-03-01 13:22:32 -08:00
gen_lazyloads_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
gen_program.go Add support for `DeletedWith` to `pulumi convert` (#12011) 2024-07-19 14:17:45 +00:00
gen_program_expressions.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_lower.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_program_utils.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
gen_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
importer.go Remove 'pluginVersion' and 'pluginName' from nodejs schema options. 2023-08-08 12:19:06 +01:00
test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
utilities.go pkg/codegen/nodejs: Prefer contract.Assertf over Assert 2023-03-01 13:22:32 -08:00
utilities.ts Support returning plain values from methods (#13592) 2023-11-18 06:02:06 +00:00
utilities_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00