pulumi/pkg
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
..
authhelpers Add support for authentication via GOOGLE_CREDENTIALS (#6379) 2022-06-07 16:02:08 +01:00
backend Merge #11554 2022-12-15 22:56:42 +00:00
cmd/pulumi Rotate cloud secrets provider 2022-12-15 21:25:47 +00:00
codegen Merge #11418 2022-12-16 15:36:37 +00:00
engine Handle replacements of resources marked for deletion 2022-12-07 19:59:38 +00:00
graph Update error handling (#8406) 2021-11-12 18:37:17 -08:00
operations ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
resource feat(sdk/nodejs): delegates alias computation to the engine 2022-12-15 17:23:31 -05:00
secrets Add tests for awskms secret manager 2022-12-02 13:38:28 +00:00
testing/integration Fix test failure on Windows 2022-12-13 12:21:36 -08:00
util cli: Clean up previous yamlutil package, update new commands 2022-12-10 12:29:33 -08:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod Merge #11665 2022-12-16 11:35:04 +00:00
go.sum Merge #11665 2022-12-16 11:35:04 +00:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.