pulumi/pkg/codegen
Pat Gavlin e973ec0491
[codegen/hcl2] Fix assignability from dynamic. (#4704)
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 09:05:42 -07:00
..
docs Anchoring properties (#4488) 2020-05-22 14:53:34 -07:00
dotnet [codegen/hcl2/model] Remove type caches. (#4683) 2020-05-22 10:47:34 +01:00
go output generation for s3 logging example (#4681) 2020-05-26 07:07:54 -07:00
hcl2 [codegen/hcl2] Fix assignability from dynamic. (#4704) 2020-05-26 09:05:42 -07:00
internal/test output generation for s3 logging example (#4681) 2020-05-26 07:07:54 -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