pulumi/pkg/codegen
Pat Gavlin 05032d6850 [codegen/hcl2] Fix assignability from dynamic.
Types like output(T), promise(T), and union(T_0, ..., T_N) should be
assignable from dynamic if they contain an element type that is
assignable from dynamic.

This allows consumers to use the following code to check if some type
behaves like the dynamic type w.r.t. conversions:

```
if t.AssignableFrom(model.DynamicType) {
}
```

Fixes #4703.
2020-05-26 08:21:09 -07:00
..
docs [codegen/docs] Various Go-related fixes (#4646) 2020-05-15 17:33:56 -07:00
dotnet [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
go Go basic program gen (#4667) 2020-05-21 10:23:33 -07:00
hcl2 [codegen/hcl2] Fix assignability from dynamic. 2020-05-26 08:21:09 -07:00
internal/test Go basic program gen (#4667) 2020-05-21 10:23:33 -07:00
nodejs [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
python Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
schema Introduce k8s compatibility mode to C# codegen (#4544) 2020-05-19 11:41:06 +02:00
docs.go [codegen/docs] Generate a table with links to the language-specific module pages (#4597) 2020-05-12 15:37:37 -07:00
docs_test.go [codegen/docs] Add a new template for examples section (#4591) 2020-05-08 16:25:28 -07:00
utilities.go [codegen/python] Fix nested quotes. (#4539) 2020-04-30 16:34:25 -07:00