mirror of https://github.com/pulumi/pulumi.git
a337fd7379
This changes the input type for dependsOn from simply `Resource[] | Resource` to `Input<Input<Resource>[]> | Input<Resource>`. This permits `Output<Resource>`s, etc in addition to `Promise<Resource>`s. The logic for dynamically unpicking the right types and recursing through the data structures isn't straightforward, but I've written a test for all of the interesting permutations. This fixes pulumi/pulumi#991. |
||
---|---|---|
.. | ||
000.empty | ||
001.one_resource | ||
002.ten_resources | ||
003.one_complex_resource | ||
004.ten_complex_resources | ||
005.resource_thens | ||
006.asset | ||
007.promises_io | ||
008.ten_depends_on_resources | ||
009.invoke | ||
010.runtime_settings | ||
011.unhandled_error | ||
012.assets_archive | ||
013.unhandled_promise_rejection | ||
014.read_resource | ||
015.runtime_sxs | ||
016.promise_leak | ||
017.parent_defaults | ||
018.logging | ||
019.stack_exports |