pulumi/pkg/codegen/hcl2/model
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
..
format Update error handling (#8406) 2021-11-12 18:37:17 -08:00
attribute.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
binder_expression.go Remove traverse errors on dynamic types 2022-11-16 14:41:30 -08:00
binder_expression_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
block.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
body.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
diagnostics.go Remove traverse errors on dynamic types 2022-11-16 14:41:30 -08:00
expression.go Don't return half-nil fat ptrs from `SyntaxNode()` 2022-12-16 13:37:08 +01:00
functions.go Initial implementation of simplified invokes for dotnet and nodejs 2022-12-16 13:39:03 +01:00
print_test.go Escape `${` & `%{` in string literals 2022-12-08 10:46:23 +01:00
printer.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
scope.go Remove traverse errors on dynamic types 2022-11-16 14:41:30 -08:00
spec.md Add an HCL2 static typechecker and semantic model. (#4087) 2020-03-18 09:28:57 -07:00
traversable.go Remove traverse errors on dynamic types 2022-11-16 14:41:30 -08:00
type.go [codegen] simplify opaque types to string newtype (#9770) 2022-06-13 11:13:03 -07:00
type_collection.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
type_const.go Don't emit missing var errors for const vars 2022-11-21 17:20:54 -08:00
type_enum.go Add an EnumType to the PCL model (#9290) 2022-04-18 11:03:42 +02:00
type_eventuals.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_list.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_map.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_none.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_object.go Allow case insensitive prop typecheck on traversal 2022-11-08 09:08:12 -08:00
type_opaque.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
type_opaque_test.go [codegen] simplify opaque types to string newtype (#9770) 2022-06-13 11:13:03 -07:00
type_output.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_promise.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_scope.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
type_set.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_test.go Allow case insensitive prop typecheck on traversal 2022-11-08 09:08:12 -08:00
type_tuple.go [codegen/hcl2] Improve ConversionFrom perf. (#7545) 2021-07-16 09:56:26 -07:00
type_union.go Remove traverse errors on dynamic types 2022-11-16 14:41:30 -08:00
utilities.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
visitor.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00