Is there a way to turn on throwing for this now? `...
# typescript
w
Is there a way to turn on throwing for this now?
Copy code
Calling [toString] on an [Output<T>] is not supported. To get the value of an Output<T> as an Output<string> consider either: 1: o.apply(v => `prefix${v}suffix`) 2: pulumi.interpolate `prefix${v}suffix` See <https://pulumi.io/help/outputs> for more details. This function may throw in a future version of @pulumi/pulumi.-file-run-pulumi-up an hour ago
I’ll explain: I some times accidentally have these show up, and instead of letting these sneak through, i’d love to fail fast. I wasted a couple hours when I accidentally wrote in these.
👍 1
g
I don't believe there is a way to make these throw. Can you open an issue for that at github.com/pulumi/pulumi ?
w
b
@wet-soccer-72485 eslint, with @typescript-eslint plugin helps me catch these