googleapis / googleapis/api-linter
Feature Request : Update the list of reserved words in AIP 140
Open
type: feature request
- Dominant language
- Go
- Stars
- 765
- Forks
- 181
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 3
Description
From https://google.aip.dev/140#reserved-words,
```
Field names should avoid using names that are likely to conflict with keywords in common programming languages, such as new, class, function, import, etc. Reserved keywords can cause hardship for developers using the API in that language.
```
The reserved words list exists here
https://github.com/googleapis/api-linter/blob/f438ca379e9dbf6382899db7608de33d670a243b/rules/aip0140/reserved_words.go#L40-L122
However some reserved words, for example `type`, are missing from the list.
Contributor guide
Assessment
This issue has not been assessed yet.