mirror of https://github.com/pulumi/pulumi.git
818d055a77
11701: Revert "Simplified invokes: SDK-gen and program-gen implementation for dotnet and nodejs" r=iwahbe a=AaronFriel Reverts pulumi/pulumi#11418. Fixes #11699. The addition of the `ReturnType` field on `schema.FunctionSpec` broke the API contract between Pulumi's codegen package and tfbridge and other tools. From my comment on #11699. > I was able to bisect pu/pu to a commit that had the issue, but couldn't reproduce the behavior with a synthetic schema. PR #11418 should be reverted because it introduces the breaking change, and before that PR is reintroduced, the breaking change to the schema should be addressed. > > Notes on root causing: > > Adding an unserialized `ReturnType` field on the `schema.FunctionSpec` type was a breaking change in the API contract with the tfgen bridge and any other tools that generate a PackageSpec directly (without marshaling/unmarshaling) before binding it and calling `GeneratePackage`. > > In [ |
||
---|---|---|
.. | ||
bind.go | ||
docs_parser.go | ||
docs_renderer.go | ||
docs_test.go | ||
loader.go | ||
loader_schema_test.go | ||
loader_test.go | ||
mock_pulumi_schema.go | ||
package_reference.go | ||
pulumi.json | ||
schema.go | ||
schema_test.go |