pulumi/sdk/nodejs/tests
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
..
automation Bump `go-git` to 5.13.1 (#18247) 2025-01-15 21:34:14 +00:00
cmd Gracefully handle errors that don't implement toString (#18080) 2024-12-20 14:29:09 +00:00
runtime Permit output arguments in plain invokes for backwards compatibility (#18304) 2025-01-21 14:27:59 +00:00
sxs_ts_test Replace Rome with Biome in the NodeJS SDK (#16456) 2024-06-24 11:14:56 +00:00
config.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
constants.ts ci: improve x-plat testing on Windows 2022-03-06 14:45:26 -08:00
init.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
iterable.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
options.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
output.spec.ts [sdk/nodejs] Throw from output() on circular structures (#17852) 2024-11-27 18:40:29 +00:00
provider.spec.ts Add google-protobuf types (#14422) 2023-10-27 09:55:44 +00:00
resource.spec.ts [sdk/nodejs] Fix provider for resource methods (#13796) 2023-08-30 14:49:53 +00:00
stackReference.spec.ts Fix TypeScript checking of Output maps of "any" values (#16959) 2024-08-15 19:09:21 +00:00
unwrap.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
util.ts Apply autoformat 2023-04-28 18:27:10 -04:00