pulumi/sdk
bors[bot] 954ef04f64
Merge #10991
10991: sdk/go: Implement array contravariance in As*ArrayOutput types r=AaronFriel a=AaronFriel

Expands on the As*ArrayOutput methods added in #10085 to permit contravariance. These methods are modified to inspect the type of the argument, if it is an `[]interface{}` and therefore would panic on casting to `[]T`, we try casting the elements of the array item-by-item.

The `generate.go` file is moved to a subdirectory and `//go:build ignore` directives removed as they seemed to interfere with my editor's code completion. 

Resolves #10977.


Co-authored-by: Aaron Friel <mayreply@aaronfriel.com>
2022-10-12 01:25:55 +00:00
..
dotnet chore: Renames existing aliases field to AliasURNs 2022-10-11 17:56:32 -04:00
go Merge #10991 2022-10-12 01:25:55 +00:00
nodejs feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
proto/go feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
python feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
README.md Compile protobufs with "pulumi" namespace (#10074) 2022-07-12 14:45:03 +01:00
go.mod Update dependencies 2022-09-19 17:42:27 +00:00
go.sum Use project schema to validate projects we load 2022-09-02 10:09:24 +01:00

README.md

Pulumi Language SDKs

This directory contains the Pulumi SDKs for all supported languages.

Please see the respective READMEs for information about installing and using these libraries:

The language providers work by implementing gRPC interfaces defined in the top level directory proto.