googleapis / googleapis/api-linter

Feature Request : Update the list of reserved words in AIP 140

Open
#1,352 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.