Skip to content

Commit fe67120

Browse files
committed
Add detail about the protocol deprecation
Make sure it's clear that the deprecated fields serve no purpose, and should be ignored.
1 parent 9847eaa commit fe67120

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎docs/plugin-protocol/tfplugin6.1.proto‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ message Schema {
128128

129129
repeated Attribute attributes = 1;
130130
NestingMode nesting = 3;
131+
132+
// MinItems and MaxItems were never used in the protocol, and have no
133+
// effect on validation.
131134
int64 min_items = 4 [deprecated = true];
132135
int64 max_items = 5 [deprecated = true];
133136
}

‎internal/tfplugin6/tfplugin6.pb.go‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)