mirror of https://github.com/pulumi/pulumi.git
255495e669
10840: [codegen/dotnet] Fix codegen for functions with secret parameters r=justinvp a=justinvp The non-`Output<T>` returning functions take parameters as plain values, which cannot be made secrets. Before this change, .NET codegen was trying to convert the inputs into secrets (for any input property that is marked as a `secret` in the schema), but this would error during compilation because the plain types are not `Input<T>`. Note: Arguably, for the `Output<T>` returning functions, we could force any secret input properties to be secrets since they are typed as `Input<T>`, and similarly, force the resulting `Output<T>` to be a secret if any of the output properties are marked as secret. But that is something we could consider doing subsequently, as it would be a change for all languages. Tracking this in #10841. Fixes #10838 Co-authored-by: Justin Van Patten <jvp@justinvp.com> |
||
---|---|---|
.. | ||
20220914--sdk-go--go-build-target.yaml | ||
20220915--cli--secretsprovider-override.yaml | ||
20220915--programgen-yaml--incorrect-import-for-external-pkg.yaml | ||
20220916--sdk-yaml--yaml-0-5-7.yaml | ||
20220919--ci--homebrew-tap.yaml | ||
20220919--sdk-dotnet--org-name.yaml | ||
20220920--cli-plugin--dont-retry-plugin-downloads.yaml | ||
20220920--engine--policy-new.yaml | ||
20220920--sdk-nodejs--enable-esmodule-interoperability.yaml | ||
20220921--engine--analyzer-bundled.yaml | ||
20220921--programgen--options-dot-version.yaml | ||
20220921--sdk-go--org-name.yaml | ||
20220921--sdk-nodejs-python--get-org.yaml | ||
20220922--cli--fix-tracing-http-resp-parse.yaml | ||
20220922--cli-engine--fix-refresh-option.yaml | ||
20220922--engine--fix-cmd.yaml | ||
20220923--cli-new--pulumi-new-azure-devops.yaml | ||
20220923--sdkgen-dotnet--dotnet-codegen-functions-secrets.yaml |