pulumi/sdk/nodejs/cmd/pulumi-language-nodejs
Zaid Ajaj 3d8158b744
[PCL] Support generating invokes options from PCL for invokes (#17696)
### Description

This PR adds support for specifying invokes options in PCL and extends
program-gen in C#, TypeScript, Python and Go to support generating the
options correctly from PCL.

Previously the options parameter from the invoke was expected to be a
string which is incorrect, it must be an object with fields `provider`,
`parent`, `version` and `pluginDownloadUrl`.

Soon we will add `dependsOn` to these options so it will be nice to have
the foundation for it.

For Go, TypeScript and Python added a conformance test
`l2-invoke-options` which exercise the usage of these options although
runtime-wise the results of the invoke are the same.

Since we don't have conformance tests for .NET yet, I've added a simple
program-gen test for C# that has invoke options to make sure the
generated program compiles.
2024-11-11 13:01:24 +00:00
..
testdata [PCL] Support generating invokes options from PCL for invokes (#17696) 2024-11-11 13:01:24 +00:00
go.mod Changelog and go.mod updates for v3.138.0 (#17708) 2024-11-07 04:18:17 +00:00
go.sum Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
language_test.go Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
main.go implement RunPlugin for nodejs (#17724) 2024-11-11 10:51:22 +00:00
main_test.go Allow 'pulumi about' in nodejs projects to resolve dependencies from package files by walking up the file tree (#17239) 2024-09-17 12:23:17 +00:00
proxy.go Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
proxy_unix.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
proxy_windows.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00