googleapis / googleapis/api-linter

Feature Request : Add linter for AIP 140 - Conflicts

Open
#1,353 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#conflicts,

```
Messages should not include a field with the same name as the enclosing message (ignoring case transformations). This causes conflicts when generating code in some languages.
```

For example, the linter rule should fail when there is a field called `foo` under message `Foo`

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.