pulumi/sdk/nodejs/cmd/pulumi-language-nodejs
Fraser Waters 65b8f5c841
Split CallRequest into ResourceCallRequest (#15404)
<!--- 
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

<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->

Similar to what we did to the `InvokeRequest` a while ago. We're
currently using the same protobuf structure for `Provider.Call` and
`ResourceMonitor.Call` despite different field sets being filled in for
each of them.

This splits the structure into `CallRequest` for providers and
`ResourceCallRequest` for the resource monitor. A number of fields in
each are removed and marked reserved with a comment explaining why.

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [x] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [ ] 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 Cloud,
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
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-02-08 13:16:23 +00:00
..
testdata Test GetDependencies and library versions in conformance testing (#15324) 2024-02-06 12:38:44 +00:00
go.mod Changelog and go.mod updates for v3.105.0 (#15398) 2024-02-08 08:59:28 +00:00
go.sum Auto-fix encrypted keys in the wrong format due to gocloud.dev upgrade regression (#15334) 2024-02-01 09:39:41 +00:00
language_test.go Enable python conformance tests (#15283) 2024-01-30 15:02:59 +00:00
main.go Test GetDependencies and library versions in conformance testing (#15324) 2024-02-06 12:38:44 +00:00
main_test.go Pass root and main info to language host methods (#14654) 2023-12-10 17:30:51 +00:00
proxy.go Split CallRequest into ResourceCallRequest (#15404) 2024-02-08 13:16:23 +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