pulumi/pkg/codegen/nodejs
Will Jones 47bc2e4625
Add the `l2-component-call-simple` conformance test
This change exercises PCL's new `call` intrinsic to introduce a
conformance test for testing code generation and execution for "simple"
applications of the `Call` method on the `ResourceMonitor` gRPC
interface (and behind it, the `ResourceProvider` interface). As part of
this, we extend programgen for NodeJS and Python, where it's a
relatively simple adaptation of the existing `invoke` machinery. It
seems that Go will require a bit more work due to some errant name
generation, which is tracked by #18202.

Later on we can add tests for more complex uses of `Call`, such as on
rehydrated resource references, or perhaps using "multi-argument
signatures", but this should suffice for now.

Part of fixing pulumi/pulumi-java#262
2025-01-10 16:58:48 +00:00
..
gen_program_test Don't publish test code in `pkg/codegen` (#17517) 2024-10-09 11:09:54 +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 Update minimum SDK versions for Node.js and Python (#17997) 2024-12-10 18:14:38 +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 Update error handling (#8406) 2021-11-12 18:37:17 -08:00
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 [program-gen] Emit deferred outputs for mutually dependant components (#17859) 2024-11-27 23:36:31 +00:00
gen_program_expressions.go Add the `l2-component-call-simple` conformance test 2025-01-10 16:58:48 +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 Don't publish test code in `pkg/codegen` (#17517) 2024-10-09 11:09:54 +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 Don't publish test code in `pkg/codegen` (#17517) 2024-10-09 11:09:54 +00:00
importer.go Remove 'pluginVersion' and 'pluginName' from nodejs schema options. 2023-08-08 12:19:06 +01: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