pulumi/sdk/go/common/resource
bors[bot] f7ad50317f
Merge #12197
12197: deps: Upgrade to pgregory.net/rapid v0.5 r=abhinav a=abhinav

The 0.5 release of rapid exposes a generics-based API
instead of `interface{}` and casting everywhere.
This makes for much cleaner usage.

There are a handful of cases where strongly typed generators,
e.g. `Generator[bool]`, need to be turned into `interface{}` (`any`),
which is doable with `AsAny()`.

API changes:
The only non-test changes to the SDK package are in
go/common/resource/testing, which contains testing utiltiies.
Functions that previously returned the old, untyped `Generator`
now return a strongly typed `Generator[T]`.


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-02-25 04:38:10 +00:00
..
config sdk/go: Prefer contract.Assertf over Assert 2023-02-15 10:22:43 -08:00
plugin deps: Upgrade to pgregory.net/rapid v0.5 2023-02-16 12:04:07 -08:00
testing deps: Upgrade to pgregory.net/rapid v0.5 2023-02-16 12:04:07 -08:00
alias.go feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
alias_test.go feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
asset.go sdk/go: Prefer contract.Assertf over Assert 2023-02-15 10:22:43 -08:00
asset_test.go unused: Remove unused functions and types 2023-01-12 09:55:34 -08:00
custom_timeouts.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
errors.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
mapper_test.go Allow decoding *asset and *archive values 2022-10-17 13:28:13 -07:00
properties.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
properties_diff.go chore(sdk/go): fix a somewhat misleading comment 2023-02-21 11:41:08 +01:00
properties_diff_test.go Specify fields on engine diff (#8488) 2021-11-30 12:25:27 -08:00
properties_path.go Cleaning up a few pkg/errors uses 2022-11-02 14:20:44 +00:00
properties_path_test.go Fix concurrent access to PropertyValue in TestPropertyPath (#9553) 2022-05-05 14:38:17 +01:00
properties_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
resource_goal.go Add DeletedWith resource option 2022-10-31 12:03:18 +02:00
resource_id.go sdk/go: Prefer contract.Assertf over Assert 2023-02-15 10:22:43 -08:00
resource_id_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
resource_operation.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
resource_state.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
stack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
status.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
urn.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
urn_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00