Skip to content

Commit 441ec40

Browse files
committed
fix: Improve connection rule schema validation
1 parent 31292c6 commit 441ec40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/provider/connection/schema.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ func (r *connectionResource) Schema(_ context.Context, _ resource.SchemaRequest,
145145
},
146146
},
147147
},
148+
Validators: []validator.Object{
149+
validators.ExactlyOneChild(),
150+
},
148151
},
149152
},
150153
"source_id": schema.StringAttribute{

0 commit comments

Comments
 (0)