pulumi/pkg/codegen/hcl2
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
..
model [codegen/hcl2] Fix assignability from dynamic. (#4704) 2020-05-26 09:05:42 -07:00
syntax [codegen/hcl2] Fix template control tokens. (#4584) 2020-05-07 09:12:00 -07:00
binder.go Resolve referenced packages for every TF program (#4636) 2020-05-15 19:18:07 +02:00
binder_nodes.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
binder_resource.go [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
binder_schema.go Go basic program gen (#4667) 2020-05-21 10:23:33 -07:00
binder_schema_test.go [codegen/hcl2] Refactor package schema loading. (#4661) 2020-05-18 17:35:11 -07:00
binder_test.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
component.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
config.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
diagnostics.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
functions.go Fix the entries() signature 2020-05-01 13:10:56 -07:00
intrinsics.go [codegen/hcl2] Add a conversion insertion pass. (#4594) 2020-05-11 11:17:36 -07:00
invoke.go [codegen/nodejs] Await invokes in async contexts. (#4598) 2020-05-11 10:21:56 -07:00
local.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
output.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
program.go Resolve referenced packages for every TF program (#4636) 2020-05-15 19:18:07 +02:00
resource.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
rewrite_apply.go [codegen/hcl2] Fix iterator apply rewrites. (#4589) 2020-05-07 12:15:40 -07:00
rewrite_apply_test.go [codegen/hcl2] Fix iterator apply rewrites. (#4589) 2020-05-07 12:15:40 -07:00
rewrite_convert.go [codegen/hcl2] Fix descent in RewriteConversions. (#4614) 2020-05-13 08:25:26 -07:00
rewrite_convert_test.go Go basic program gen (#4667) 2020-05-21 10:23:33 -07:00
type.go Various codegen updates. (#4424) 2020-04-16 16:44:34 -07:00
utilities.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00