pulumi/sdk/go/pulumi/templates
Ian Wahbe 58ca844b04
Return errors on parse failures for `config.Try*` (#9407)
* Return a concrete type when missing a key

* Add tests + fix implementation

* Return an error for when parsing fails

* Implement the same fix for errors

* Update changelog

* Update CHANGELOG_PENDING.md

* Remove contract.Failf from require

* Fix nit + lower conversion panic

* Fix test

* Link correctly

* Fix indentation + revert lowerConversion change
2022-04-20 09:46:15 +02:00
..
config-config.go.template Fix types_builtins_test.go.template so 'make gen' stops changing types_builtins_test.go (#9322) 2022-03-31 12:21:05 +01:00
config-get.go.template Fix types_builtins_test.go.template so 'make gen' stops changing types_builtins_test.go (#9322) 2022-03-31 12:21:05 +01:00
config-require.go.template Return errors on parse failures for `config.Try*` (#9407) 2022-04-20 09:46:15 +02:00
config-try.go.template Return errors on parse failures for `config.Try*` (#9407) 2022-04-20 09:46:15 +02:00
types_builtins.go.template Fix types_builtins_test.go.template so 'make gen' stops changing types_builtins_test.go (#9322) 2022-03-31 12:21:05 +01:00
types_builtins_test.go.template Fix types_builtins_test.go.template so 'make gen' stops changing types_builtins_test.go (#9322) 2022-03-31 12:21:05 +01:00