pulumi/pkg/codegen/internal/test/testdata
Pat Gavlin 7b1d6ec1ac
Reify Input and Optional types in the schema type system. (#7059)
These changes support arbitrary combinations of input + plain types
within a schema. Handling plain types at the property level was not
sufficient to support such combinations. Reifying these types
required updating quite a bit of code. This is likely to have caused
some temporary complications, but should eventually lead to
substantial simplification in the SDK and program code generators.

With the new design, input and optional types are explicit in the schema
type system. Optionals will only appear at the outermost level of a type
(i.e. Input<Optional<>>, Array<Optional<>>, etc. will not occur). In
addition to explicit input types, each object type now has a "plain"
shape and an "input" shape. The former uses only plain types; the latter
uses input shapes wherever a plain type is not specified. Plain types
are indicated in the schema by setting the "plain" property of a type spec
to true.
2021-06-24 09:17:55 -07:00
..
external-resource-schema Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
nested-module Fix python module nesting (#7353) 2021-06-22 15:43:21 -07:00
plain-schema-gh6957 Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
resource-args-python Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
schema Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
simple-enum-schema Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
simple-plain-schema Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
simple-plain-schema-with-root-package Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
simple-resource-schema Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
simple-resource-schema-custom-pypackage-name Permit override of Python package naming (#6971) 2021-05-06 11:18:14 -07:00
aws-eks.pp [codegen/*] Improve range type binding + codegen. (#4552) 2020-05-04 15:04:35 -07:00
aws-eks.pp.cs Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
aws-eks.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-eks.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-eks.pp.ts
aws-fargate.pp Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
aws-fargate.pp.cs [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
aws-fargate.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-fargate.pp.py Ensure the correct qualified code is emitted for Python ResourceOptions (#5824) 2020-11-24 02:21:25 +00:00
aws-fargate.pp.ts
aws-s3-folder.pp HCL2 updates (#4309) 2020-04-06 19:43:16 -07:00
aws-s3-folder.pp.cs
aws-s3-folder.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-s3-folder.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-s3-folder.pp.ts
aws-s3-logging.pp Fix output property names in Python codegen. 2020-04-21 10:25:27 -07:00
aws-s3-logging.pp.cs Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-s3-logging.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
aws-s3-logging.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-s3-logging.pp.ts Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-webserver.pp HCL2 updates (#4309) 2020-04-06 19:43:16 -07:00
aws-webserver.pp.cs Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00
aws-webserver.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
aws-webserver.pp.py Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
aws-webserver.pp.ts
aws.json Fix inconsistent object type naming. (#6686) 2021-04-15 19:03:28 -07:00
azure-native.json Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp.cs Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp.go Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp.py Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-native.pp.ts Discriminated unions in schema and programgen 2021-05-05 10:01:22 +02:00
azure-sa.pp Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure-sa.pp.cs Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure-sa.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
azure-sa.pp.py Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure-sa.pp.ts Convert config params to outputs only if promise types are seen 2020-10-07 12:29:33 -07:00
azure.json [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
kubernetes-operator.pp Use a package map where appropriate (#5127) 2020-08-06 19:09:18 -07:00
kubernetes-operator.pp.cs Fix C# program gen for Kubernetes examples (#5129) 2020-08-07 09:31:42 -06:00
kubernetes-operator.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
kubernetes-operator.pp.py Remove UsesIOClasses check. (#5827) 2020-11-24 19:15:37 -06:00
kubernetes-operator.pp.ts Use a package map where appropriate (#5127) 2020-08-06 19:09:18 -07:00
kubernetes-pod.pp Use input/output classes in program gen (#5086) 2020-08-06 15:09:23 -07:00
kubernetes-pod.pp.cs Fix C# program gen for Kubernetes examples (#5129) 2020-08-07 09:31:42 -06:00
kubernetes-pod.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-pod.pp.py Remove UsesIOClasses check. (#5827) 2020-11-24 19:15:37 -06:00
kubernetes-pod.pp.ts tests for kubernetes program generation (#5105) 2020-08-05 09:15:36 -07:00
kubernetes-template.pp Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-template.pp.cs Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-template.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-template.pp.py Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes-template.pp.ts Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
kubernetes.json tests for kubernetes program generation (#5105) 2020-08-05 09:15:36 -07:00
random-pet.pp [Go program gen]: namespaceless resources (#4915) 2020-06-29 18:10:34 -07:00
random-pet.pp.cs [Go program gen]: namespaceless resources (#4915) 2020-06-29 18:10:34 -07:00
random-pet.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
random-pet.pp.py [Go program gen]: namespaceless resources (#4915) 2020-06-29 18:10:34 -07:00
random-pet.pp.ts
random.json [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
resource-options.pp [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
resource-options.pp.cs [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
resource-options.pp.go Reify Input and Optional types in the schema type system. (#7059) 2021-06-24 09:17:55 -07:00
resource-options.pp.py Ensure the correct qualified code is emitted for Python ResourceOptions (#5824) 2020-11-24 02:21:25 +00:00
resource-options.pp.ts
secret.pp [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
secret.pp.cs [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
secret.pp.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
secret.pp.py [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
secret.pp.ts