You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource+tfsdk: Remove tfsdk package schema types and functions
Reference: #132
Reference: #326
Reference: #491
Refer to the following pull request descriptions for migration information about migrating to the split schema packages:
- `datasource/schema`: #546
- `provider/schema`: #553
- `resource/schema`: #558
- `provider/metaschema`: #562
resource: The `RequiresReplace()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplace()` or `resource/schema/stringplanmodifier.RequiresReplaceIfConfigured()`
3
+
```
4
+
5
+
```release-note:breaking-change
6
+
resource: The `RequiresReplaceIf()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplaceIf()`
7
+
```
8
+
9
+
```release-note:breaking-change
10
+
resource: The `Resource` type `GetSchema` method has been removed. Use the `Schema` method instead.
11
+
```
12
+
13
+
```release-note:breaking-change
14
+
resource: The `UseStateForUnknown()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.UseStateForUnknown()`
15
+
```
16
+
17
+
```release-note:breaking-change
18
+
tfsdk: The `Attribute`, `Block`, and `Schema` types have been removed. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead.
19
+
```
20
+
21
+
```release-note:breaking-change
22
+
tfsdk: The `AttributePlanModifier` interface has been removed. Use the type-specific plan modifier interfaces in the `resource/schema/planmodifier` package instead.
23
+
```
24
+
25
+
```release-note:breaking-change
26
+
tfsdk: The `AttributeValidator` interface has been removed. Use the type-specific validator interfaces in the `schema/validator` package instead.
27
+
```
28
+
29
+
```release-note:breaking-change
30
+
tfsdk: The `ListNestedAttributes`, `MapNestedAttributes`, `SetNestedAttributes`, and `SingleNestedAttributes` functions have been removed. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead.
0 commit comments