Document naming convention for boolean API fields
This commit is contained in:
parent
9cb632d41f
commit
c2edce34ee
|
@ -1138,6 +1138,8 @@ be called `fooName`. The name of a field referring to another resource of kind
|
||||||
`Foo` by ObjectReference (or subset thereof) should be called `fooRef`.
|
`Foo` by ObjectReference (or subset thereof) should be called `fooRef`.
|
||||||
* More generally, include the units and/or type in the field name if they could
|
* More generally, include the units and/or type in the field name if they could
|
||||||
be ambiguous and they are not specified by the value or value type.
|
be ambiguous and they are not specified by the value or value type.
|
||||||
|
* The name of a field expressing a boolean property called 'fooable' should be
|
||||||
|
called `Fooable`, not `IsFooable`.
|
||||||
|
|
||||||
## Label, selector, and annotation conventions
|
## Label, selector, and annotation conventions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue