Skip to content

Commit 1e1bc03

Browse files
authored
Merge pull request #492 from microsoft/corranrogue9/productnames
Add naming guidance to avoid product names
2 parents 55ffb89 + e93e55b commit 1e1bc03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graph/GuidelinesGraph.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Following is a short summary of the most often used conventions.
125125
| :ballot_box_with_check: **SHOULD** prefix property names for properties concerning a different entity. | - **Right:** siteWebUrl on driveItem or userId on auditActor <BR> - **Wrong:** webUrl on contact when it's the companyWebUrl |
126126
| :ballot_box_with_check: **SHOULD** prefix Boolean properties with `is`, unless this leads to awkward or unnatural sounding names for Boolean properties. | - **Right:** isEnabled or isResourceAccount <BR>- **Wrong:** enabled or allowResourceAccount <BR> - **Right:** allowNewTimeProposals or allowInvitesFrom (subjectively more natural than the following examples) <BR> - **Wrong:** isNewTimeProposalsAllowed or isInvitesFromAllowed (subjectively more awkward that the preceding examples) |
127127
| :no_entry: **MUST NOT** use collection, response, or request suffixes. | - **Right:** addresses <BR> - **Wrong:** addressCollection |
128+
| :no_entry: **MUST NOT** contain product names. | - **Right:** chatMessages <BR> - **Wrong:** teamsMessages |
128129

129130
### Uniform Resource Locators (URLs)
130131

0 commit comments

Comments
 (0)