pulumi/pkg/codegen
Daniel Bradley f935dfba2e
Fix invoke functions without args (#8805)
* Fix invoke functions without args

Example: `invoke("aws-native::getPartition")` has no additional args object passed therefore the args length is 1.
Graciously fallback to disable rendering of the output form for this case.

* Fix binder tests

- No sub-tests were run since the folder structure changed in 06a19b53ed
- Also fix capture of loop variable in closure.

* Add binder test for aws-native

This fails if 735ab2ba05e33caab75219cbcc3c5156b8a0e843 is reverted.

* Add to pending changelog

* Fix lint warning

* Emit diagnostics for missing arg

- Allow example generation to run without panic while we investigate deeper issues.
- Remove example which appears to have errors (leave aws-native host there for now).
2022-01-24 20:59:06 +00:00
..
docs Helm doc override: exclude Release and add description for Chart (#8598) 2021-12-16 21:15:38 +01:00
dotnet [codegen/dotnet] Allow generated SDKs to have a global namespace other then `Pulumi` (#8735) 2022-01-21 12:58:11 -08:00
go Implemented filebase64sha256 & fileArchive support for codegen (#7997) 2022-01-21 16:03:25 +02:00
hcl2 Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
importer [cli/import] Support import of values with map type keys with non-identifier names (#8645) 2021-12-29 08:44:28 -08:00
internal Fix invoke functions without args (#8805) 2022-01-24 20:59:06 +00:00
nodejs Implemented filebase64sha256 & fileArchive support for codegen (#7997) 2022-01-21 16:03:25 +02:00
pcl Fix invoke functions without args (#8805) 2022-01-24 20:59:06 +00:00
python Implemented filebase64sha256 & fileArchive support for codegen (#7997) 2022-01-21 16:03:25 +02:00
schema [codegen/schema] Do not validate in ImportSchema. (#8543) 2021-12-15 15:02:14 -08:00
docs.go Support "lifting" single-valued method returns to their return type (#8111) 2021-10-01 11:33:02 -07:00
docs_test.go [codegen/docs] Reimplement example extraction. (#4851) 2020-06-18 12:32:15 -07:00
utilities.go [codegen/dotnet] Allow generated SDKs to have a global namespace other then `Pulumi` (#8735) 2022-01-21 12:58:11 -08:00
utilities_test.go [codegen] Fix SimplifyInputUnion. (#7459) 2021-07-08 16:01:35 -07:00
utilities_types.go [codegen/go] Call site defaults for Pulumi Object types (#8411) 2021-11-23 15:10:15 -08:00