Skip to content

Commit db3c7c5

Browse files
committed
docs updates + changelog
1 parent e708992 commit db3c7c5

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: FEATURES
2+
body: 'dynamicvalidator: New package which contains `types.Dynamic` specific validators'
3+
time: 2024-12-12T14:42:10.189818-05:00
4+
custom:
5+
Issue: "249"

dynamicvalidator/all_example_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ func ExampleAll() {
1616
"example_attr": schema.DynamicAttribute{
1717
Required: true,
1818
Validators: []validator.Dynamic{
19-
// Validate this Dynamic value must either be:
20-
// - "one"
2119
dynamicvalidator.Any(
2220
dynamicvalidator.Any( /* ... */ ),
2321
dynamicvalidator.All( /* ... */ ),

dynamicvalidator/any_example_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ func ExampleAny() {
1616
"example_attr": schema.DynamicAttribute{
1717
Required: true,
1818
Validators: []validator.Dynamic{
19-
// Validate this Dynamic value must either be:
20-
// - "one"
21-
// - Length at least 4 characters
2219
dynamicvalidator.Any(
2320
dynamicvalidator.Any( /* ... */ ),
2421
),

dynamicvalidator/any_with_all_warnings_example_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ func ExampleAnyWithAllWarnings() {
1616
"example_attr": schema.DynamicAttribute{
1717
Required: true,
1818
Validators: []validator.Dynamic{
19-
// Validate this Dynamic value must either be:
20-
// - "one"
21-
// - Length at least 4 characters
2219
dynamicvalidator.AnyWithAllWarnings(
2320
dynamicvalidator.AnyWithAllWarnings( /* ... */ ),
2421
),

0 commit comments

Comments
 (0)