diff --git a/infer/schema.go b/infer/schema.go index 90e12e4..14616a8 100644 --- a/infer/schema.go +++ b/infer/schema.go @@ -119,6 +119,7 @@ func serializeTypeAsPropertyType( t = t.Elem() } if t == reflect.TypeOf(resource.Asset{}) { + // Provider authors should not be using resource.Asset directly, but rather types.AssetOrArchive. #243 return schema.TypeSpec{ Ref: "pulumi.json#/Asset", }, nil