pulumi/sdk/nodejs/runtime
Julien d5cf13b6cd
Permit output arguments in plain invokes for backwards compatibility (#18304)
Plain invokes happen to serialize arguments, which allows passing in
output types. With https://github.com/pulumi/pulumi/pull/18204 we
started checking if the resource dependencies of the arguments (and from
`dependsOn`) are known, and returned unknown if not. However this broke
backwards compatibility for plain invokes in the TypeScript and Python
SDKs.

This PR ensures that we only check the dependencies if we are using
output form invokes. In Python and TypesScript, arguments of output type
decay to promises/tasks, without dependency information, when passed to
plain invokes.
2025-01-21 14:27:59 +00:00
..
closure Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
asyncIterableUtil.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
callbacks.ts implement invoke transforms for NodeJS (#16688) 2024-07-18 08:41:39 +00:00
config.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
debuggable.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
dependsOn.ts Avoid calling invokes with dependencies on unknown resources (#18152) 2025-01-07 09:55:27 +00:00
index.ts Add support for async mocks in TS 2023-06-01 13:58:53 +02:00
invoke.ts Permit output arguments in plain invokes for backwards compatibility (#18304) 2025-01-21 14:27:59 +00:00
mocks.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
resource.ts Move getAllTransitivelyReferencedResourceURNs to dependsOn (#18151) 2025-01-06 14:37:01 +00:00
rpc.ts Move getAllTransitivelyReferencedResourceURNs to dependsOn (#18151) 2025-01-06 14:37:01 +00:00
settings.ts set mock monitor in global store (#17769) 2024-11-21 09:39:37 +00:00
stack.ts implement invoke transforms for NodeJS (#16688) 2024-07-18 08:41:39 +00:00
state.ts Add packageReferences feature flag (#17153) 2024-09-13 14:32:53 +00:00