pulumi/pkg/codegen/nodejs
Justin Van Patten d583bcb915
[codegen/nodejs] Remove unnecessary ctor overload (#5274)
An extra constructor overload was recently added to pass undefined state from
`get` for resources that do not have any state inputs (notably Kubernetes
resources). This ended up breaking PaC's `validateResourceOfType`, which relies
on type inference in common usage to determine the resource's args type based
on the signature of the constructor.

This constructor overload isn't necessary. Instead, we can remove it and modify
how the constructor is called inside `get`. This also makes it so we're not
exposing details about `get`'s implementation in the public API.
2020-09-02 09:09:41 -06:00
..
doc.go [codegen/docs] Fix the case used in links for Node.js modules. (#5165) 2020-08-13 17:29:56 -07:00
doc_test.go Clean up the language-specific schema APIs. (#4454) 2020-04-20 16:36:05 -07:00
gen.go [codegen/nodejs] Remove unnecessary ctor overload (#5274) 2020-09-02 09:09:41 -06:00
gen_intrinsics.go Clean up the language-specific schema APIs. (#4454) 2020-04-20 16:36:05 -07:00
gen_program.go [codegen] Make schema and package available to HCL2 codegen (#5114) 2020-08-05 17:27:17 -06:00
gen_program_expressions.go [codegen] Generate null values for model.NoneType (#5122) 2020-08-06 14:12:27 -06:00
gen_program_lower.go [codegen/nodejs] Await invokes in async contexts. (#4598) 2020-05-11 10:21:56 -07:00
gen_program_test.go Turn program gen NYIs into diagnostic errors (#4794) 2020-06-10 10:21:53 -07:00
importer.go [codegen/schema] Support default union types. (#4746) 2020-06-02 18:15:21 -07:00
utilities.go Initial support for C# program gen (#4611) 2020-05-19 10:18:38 +02:00