pulumi/sdk
Julien 1dd366951f
Ignore DependsOn for direct form invokes instead of raising an error (#18089)
When we introduced DependsOn for output form invokes in Go, we made it
an error to pass this option to direct form invokes. Unfortunately that
is not backwards compatible, and users for example pass the same set of
options to resources and invokes. Previously this worked without issue,
but now this can result in an error.

This also occurs in our SDKs. The Kubernetes SDK has resources that
internally call an invoke with the options of the resource.

The solution is to ignore DependsOn in this case, instead of making it
an error. This is what we did for Python and Typescript, [for
example](27cf193189/sdk/nodejs/runtime/invoke.ts (L88-L92)).

Fixes https://github.com/pulumi/pulumi/issues/18087
2024-12-20 16:40:43 +00:00
..
go Ignore DependsOn for direct form invokes instead of raising an error (#18089) 2024-12-20 16:40:43 +00:00
nodejs Respect the noCheck option from tsconfig.json (#18067) 2024-12-20 16:00:57 +00:00
proto/go Document provider Diff response requirements (#18032) 2024-12-16 11:10:28 +00:00
python Prepare for v3.144.0 release (#18082) 2024-12-19 21:26:47 +00:00
.version Prepare for v3.144.0 release (#18082) 2024-12-19 21:26:47 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod Update golang.org/x/net (#18079) 2024-12-19 14:56:29 +00:00
go.sum Update golang.org/x/net (#18079) 2024-12-19 14:56:29 +00:00
version.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00

README.md

Pulumi Language SDKs

This directory contains Pulumi SDKs for the following languages:

See the respective READMEs for information about installing and using these libraries.

The language providers work by implementing gRPC interfaces defined in the top level directory proto.