pulumi/sdk
James Nugent c1ce3da3e6
Make `custom` available to `Mocks::newResource` (#6551)
This commit adds a new optional parameter to the `newResource` function
of the `Mocks` interface for TypeScript. This can be useful when writing
tests which assert differing behavior between Custom and Component
resources.

Although the new parameter will always be set, the paramteter is marked
as optional in order to maintain backwards compatibility with existing
implementations of `Mocks`.

The tests are updated to verify that `custom` is set appropriately.

Co-authored-by: Luke Hoban <luke@pulumi.com>
2021-03-25 14:22:14 +11:00
..
dotnet [automation/dotnet] - Implement min version checking (#6590) 2021-03-24 10:43:44 -07:00
go [automation/*] - Add min version test for prerelease (#6612) 2021-03-24 14:00:33 -07:00
nodejs Make `custom` available to `Mocks::newResource` (#6551) 2021-03-25 14:22:14 +11:00
proto Add support for serialized resource references. (#5041) 2020-10-27 10:12:12 -07:00
python [automation/*] - Add min version test for prerelease (#6612) 2021-03-24 14:00:33 -07:00
README.md Updating .NET references 2020-04-27 12:42:11 -07:00
go.mod Fixing up go.mod and go.sum to ensure they don't continually change (#6502) 2021-03-11 20:41:45 +00:00
go.sum [automation/go] - Expose structured logging (#6436) 2021-03-10 20:49:48 -08: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 proto/.