Skip to content

Commit 347c948

Browse files
authored
Merge pull request #265 from Akrog/bool-required
doc: Remove REQUIRED for boolean values
2 parents 08e9876 + 070da0e commit 347c948

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ These limits apply for messages generated by both COs and plugins.
393393
* A `repeated` or `map` field listed as `REQUIRED` MUST contain at least 1 element.
394394
* A field noted as `OPTIONAL` MAY be specified and the specification SHALL clearly define expected behavior for the default, zero-value of such fields.
395395

396+
Scalar fields, even REQUIRED ones, will be defaulted if not specified, and any field set to the defaul value will not be serialized over the wire as per [proto3](https://developers.google.com/protocol-buffers/docs/proto3#default).
397+
396398
### Error Scheme
397399

398400
All CSI API calls defined in this spec MUST return a [standard gRPC status](https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto).

0 commit comments

Comments
 (0)