pulumi/pkg/codegen/pcl
bors[bot] 68bf7919a2
Merge #11418
11418: Simplified invokes: SDK-gen and program-gen implementation for dotnet and nodejs r=Zaid-Ajaj a=Zaid-Ajaj

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

This PR implements simplified invoke gen for both SDKs and PCL programs by allowing invokes to:
 - Accepts multi arguments as inputs (instead of a bag of properties)
 - Return a single value as output (instead of a bag of outputs)

Related to #7435 

This implementation handles dotnet and nodejs. Python and Go can be implementation on a separate pass. Currently both python and go will fail generation (sdk/program) when encountering simplified invokes

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [x] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Service,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


Co-authored-by: Zaid Ajaj <zaid.naom@gmail.com>
2022-12-16 15:36:37 +00:00
..
binder.go Type check resource attributes 2022-11-15 18:46:10 -08:00
binder_nodes.go Support a logical name for config vars 2022-11-02 12:39:57 -07:00
binder_resource.go Fix PCL binding of options.range = number 2022-12-07 19:47:44 +00:00
binder_schema.go Interpret schema.Asset as pcl.AssetOrArchive 2022-12-08 16:00:17 +01:00
binder_schema_test.go Improve error msg for invalid enum values on convert 2022-12-01 15:29:22 -08:00
binder_test.go Remove traverse errors on dynamic types 2022-11-16 14:41:30 -08:00
component.go [codegen] Rename the PCL package. (#8103) 2021-09-29 20:11:56 -07:00
config.go Support a logical name for config vars 2022-11-02 12:39:57 -07:00
diagnostics.go [schema] Add support for on-demand binding. (#9620) 2022-05-23 15:44:35 -07:00
functions.go Fix codegen for __apply functions 2022-09-28 10:32:33 -07:00
intrinsics.go [codegen] Rename the PCL package. (#8103) 2021-09-29 20:11:56 -07:00
invoke.go Initial implementation of simplified invokes for dotnet and nodejs 2022-12-16 13:39:03 +01:00
local.go codegen: preserve externally visible names of a resources and outputs (#9464) 2022-04-25 15:07:25 -07:00
output.go codegen: preserve externally visible names of a resources and outputs (#9464) 2022-04-25 15:07:25 -07:00
program.go Make convert's pcl output yaml agnostic 2022-11-08 17:04:51 +00:00
resource.go Accept options.version on pulumi convert (#10456) 2022-08-22 10:36:01 -07:00
rewrite_apply.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
rewrite_apply_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
rewrite_convert.go Don't return half-nil fat ptrs from `SyntaxNode()` 2022-12-16 13:37:08 +01:00
rewrite_convert_test.go Fixes panic when generating go from pulumi yaml (#10047) 2022-07-07 13:15:47 -07:00
rewrite_properties.go [codegen] Rename the PCL package. (#8103) 2021-09-29 20:11:56 -07:00
type.go [codegen] simplify opaque types to string newtype (#9770) 2022-06-13 11:13:03 -07:00
utilities.go Initial implementation of simplified invokes for dotnet and nodejs 2022-12-16 13:39:03 +01:00