pulumi/pkg/codegen/dotnet
Ian Wahbe 183fa89163
Add an EnumType to the PCL model (#9290)
* Add an EnumType to the PCL model

Languages implementation:
- [X] C#
- [X] Python
- [X] TypeScript
- [X] Go

* Fix assert

* Take namespace settings into account

* Implement enums for Go

* Update tests and add documentation.

* Add a test + handle output&unsafe

* Get outputs compiling for Go

* Line up types for Go

* Add nodejs

* Add Python

* Change expression form

* Fix nil check (`==` -> `!=`)

* Standardize nodejs & python checks

This should fix the Node OOM error.

* Rename enum-py to typed-enum-pp

* Don't reference schema types in `hcl2/model`

* Fix nits
2022-04-18 11:03:42 +02:00
..
doc.go [codegen/dotnet] Allow generated SDKs to have a global namespace other then `Pulumi` (#8735) 2022-01-21 12:58:11 -08:00
doc_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
gen.go Add an EnumType to the PCL model (#9290) 2022-04-18 11:03:42 +02:00
gen_intrinsics.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
gen_program.go Program codegen correctly handles foreign imports (#8861) 2022-01-31 21:48:32 +01:00
gen_program_expressions.go Add an EnumType to the PCL model (#9290) 2022-04-18 11:03:42 +02:00
gen_program_test.go Expose the check function (#9176) 2022-03-16 11:42:30 -07:00
gen_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
importer.go Respect schema versions (toggled via flag) (#8881) 2022-02-03 17:07:13 +01:00
templates.go fix: enable codegen for resources named, e.g., Environment (#9345) 2022-04-04 15:06:03 -07:00
test.go Expose the check function (#9176) 2022-03-16 11:42:30 -07:00
utilities.go Implemented filebase64sha256 & fileArchive support for codegen (#7997) 2022-01-21 16:03:25 +02:00
utilities_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00