Add missing builtin MapArray to the Go SDK (#4144)

This commit is contained in:
Evan Boyle 2020-03-20 16:51:33 -07:00 committed by GitHub
parent c28c602247
commit 2408d34c71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2728 additions and 0 deletions

View file

@ -6,6 +6,8 @@ CHANGELOG
[#4109](https://github.com/pulumi/pulumi/pull/4109)
- Report compile time errors for Go programs during plugin acquisition.
[#4141](https://github.com/pulumi/pulumi/pull/4141)
- Add missing builtin `MapArray` to Go SDK.
[#4144](https://github.com/pulumi/pulumi/pull/4144)
## 1.13.0 (2020-03-18)
- Add support for plugin acquisition for Go programs

View file

@ -197,6 +197,12 @@ func makeBuiltins(primitives []*builtin) []*builtin {
elementType: "map[string][]" + p.Type,
Example: fmt.Sprintf("%sArrayMap{\"baz\": %sArray{%s}}", name, name, p.Example),
})
builtins = append(builtins, &builtin{
Name: name + "MapArray",
Type: "[]" + name + "MapInput",
elementType: "[]map[string]" + p.Type,
Example: fmt.Sprintf("%sMapArray{%sMap{\"baz\": %s}}", name, name, p.Example),
})
}
nameToBuiltin := map[string]*builtin{}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff