pulumi/sdk
Joe Duffy 458d7a2249 Proxy missing Python dict entries during preview
This is a hypothetical approach to fixing #4040. I'm sure there
are fatal flaws in this, however, ever since encountering the bug
this is what I assumed we would do.

The idea is to catch missing keys (and properties, due to typed
dicts), and substitute fake outputs that never resolve to known
values during previews. This enusres that keys that are only
populated during an apply show up inside of the dicts as expected.

The two flaws I see immediately are that the RTTI for the returned
object won't actually be a dict, so type testing may not work,
in addition to, I suppose, the false negative for keys that truly
won't ever get populated, and deferring the knowledge of that until
update rather than seeing them during applies.
2020-11-19 19:14:58 -08:00
..
dotnet Output key and correct stack on keynotfound (#5740) 2020-11-17 19:58:56 +01:00
go Drop unnecessary prefix in test output since we rely on go's testing to do the right thing 2020-11-17 23:24:08 -08:00
nodejs Fix bug calling `Provider.read` (#5716) 2020-11-09 08:48:19 -08:00
proto Add support for serialized resource references. (#5041) 2020-10-27 10:12:12 -07:00
python Proxy missing Python dict entries during preview 2020-11-19 19:14:58 -08:00
README.md Updating .NET references 2020-04-27 12:42:11 -07:00
go.mod Fix the go sum files to ensure non dirty tree (#5683) 2020-11-04 20:04:03 +00:00
go.sum Fix the go sum files to ensure non dirty tree (#5683) 2020-11-04 20:04:03 +00:00

README.md

Pulumi Language SDKs

This directory contains the Pulumi SDKs for all supported languages.

Please see the respective READMEs for information about installing and using these libraries:

The language providers work by implementing gRPC interfaces defined in proto/.