Add missing builtin MapArray to the Go SDK (#4144)
This commit is contained in:
parent
c28c602247
commit
2408d34c71
|
@ -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
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue