pulumi/tests/integration/construct_component_methods
Justin Van Patten 7213365149 [sdk/go] Track rehydrated components as dependencies
When expanding dependencies, local component resources act as aggregations of their descendants; rather than adding the component resource itself, each child resource is added as a dependency. Remote component resources, on the other hand, are added directly to the set, as they naturally act as aggregations of their children with respect to dependencies: the construction of a remote component always waits on the construction of its children.

46ccb5a22c/sdk/go/pulumi/rpc.go (L65-L91)

However, rehydrated components (i.e. instances of a component resource that have been recreated from a URN, typically via deserialization of a resource reference) won't have any children from the SDK's perspective. And because of that, they aren't currently kept as a dependency.

This change fixes rehydrated components to be marked as remote components, in the same way as "dependency resources" are marked as remote components, so that they are kept as a dependency.
2023-03-24 13:49:10 -07:00
..
go [sdk/go] Track rehydrated components as dependencies 2023-03-24 13:49:10 -07:00
nodejs [sdk/nodejs] Support for calling methods (#7377) 2021-07-07 16:03:56 -07:00
python [sdk/python] Handle unknown results from methods (#7677) 2021-07-29 11:11:52 -07:00
testcomponent Update @types/node version in tests 2023-02-07 14:20:27 +00:00
testcomponent-go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
testcomponent-python Add RunPlugin support for python 2023-03-06 21:35:39 +00:00