damp-accountant-65956
10/04/2021, 3:42 PMpulumi.StringInput
types in go? I know I could just make them a string
and validate them but there may be cases where they could be supplied by the end user or as an output from like a data source. So I wasn't sure how to validate them when they are pulumi.StringInput
values... do I need to do a .ToStringOutput().ApplyT()
and validate within the applier?billowy-army-68599
ApplyT
billowy-army-68599
damp-accountant-65956
10/04/2021, 3:55 PMdamp-accountant-65956
10/04/2021, 3:56 PMpulumi.Output
as a return valuedamp-accountant-65956
10/04/2021, 3:56 PMdamp-accountant-65956
10/04/2021, 3:59 PMthrow
and error and catch it outside thendamp-accountant-65956
10/04/2021, 4:01 PM