https://pulumi.com logo
Title
s

sticky-nightfall-24828

03/16/2022, 4:15 PM
Hey Output.toString in nodejs sdk still silently fails and returns the error message, for the past 3 years it has said "This function may throw in a future version of @pulumi/pulumi.`;". Is there any reason this hasn't been made to throw, surely this causes countless more headaches than just throwing it. I've seen PRs introducing this same weird behaviour in Python and C# sdks such that its become a pattern.
e

echoing-dinner-19531

03/16/2022, 4:36 PM
It will probably be a 4.0 change.
It is a bit non-standard, nearly every type supports ToString even if its just to print the type name, but it's probably worth being special in this case.