pulumi/sdk/nodejs/runtime
Fraser Waters d744f22284
Don't error on output toString in debug text (#18016)
Fixes https://github.com/pulumi/pulumi/issues/17736

This change is two parts. Firstly we change the `Output<T>.toString`
error to a specific error type. We then catch that specific error when
trying to stringify properties for debug text. If we see that specific
error type we just assume `Output<T>`, else for other errors we let them
bubble up to the user (as before).

This should give more complete coverage of all types of objects that
could potentially nest an output value, rather than just special casing
the toString logic to check for output instances in arrays.
2025-01-30 17:15:54 +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 Don't error on output toString in debug text (#18016) 2025-01-30 17:15:54 +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