given an object with multiple `Output` fields: `...
# general
w
given an object with multiple
Output
fields:
Copy code
type Config = { 
   someValue: Ouput<string>,
   otherValue: string,
   andSomeMoreValues: Output<object>,
}
Does pulumi private and helper function that that would in this particular case would do:
Copy code
function helperFunction(config: Config) => Output<{
  someValue: string,
  otherValue: string,
  andSomeMoreValues: string,
}>
so that i don't have to make a messy convolution of
.apply()
calls?
g
I think wrapping it on
pulumi.output
or
pulumi.all
do exactly that
When you call apply on an output it also traverse outputs inside of it
w
pulumi.output(config)
?
g
Yep
w
so
pulumi.output(config).apply(...)
. Cool! thanks.