mirror of https://github.com/pulumi/pulumi.git
![]() When marshaling a resource reference as its ID (i.e. when opts.KeepResources is false, as it will be in the case of downlevel SDKs and resource providers), we must take care to marshal/unmarshal an empty ID as the unknown property value. This includes the following changes to the resource ref APIs: - Bifurcate resource reference creation into two methods: one for creating references to custom resources and one for creating references to component resources. - Store the ID in a resource reference as a PropertyValue s.t. it can be computed. - Add a helper method for retrieving the ID as a string + an indicator of whether or not the reference has an ID. Fixes #5939. |
||
---|---|---|
.. | ||
analyzer.go | ||
analyzer_plugin.go | ||
check.go | ||
config_source.go | ||
context.go | ||
host.go | ||
host_server.go | ||
langruntime.go | ||
langruntime_plugin.go | ||
plugin.go | ||
provider.go | ||
provider_plugin.go | ||
provider_plugin_test.go | ||
provider_server.go | ||
rpc.go | ||
rpc_test.go |