pulumi/pkg/codegen/internal/test
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
..
testdata Fix invoke functions without args (#8805) 2022-01-24 20:59:06 +00:00
helpers.go Programgen support for fnOutput forms in node (#7949) (#8434) 2021-11-17 15:27:50 -05:00
program_driver.go Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
sdk_driver.go [codegen/dotnet] Allow generated SDKs to have a global namespace other then `Pulumi` (#8735) 2022-01-21 12:58:11 -08:00
type_driver.go Switch from golint to revive (#8010) 2021-09-21 10:00:44 -07:00