googleapis / googleapis/api-linter
AIP-124: Only one canonical parent
Open
priority: p1
type: feature request
- Dominant language
- Go
- Stars
- 765
- Forks
- 181
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 3
Description
AIP-124 states:
> A resource **must** have at most one canonical parent, and List requests **must not** require two distinct "parents" to work.
This might be two rules:
- one for ensuring that a resource does not have another field that would act as a parent (perhaps a field that has a resource reference to a resource that is actually a parent of this one - seems hard/not that effective)
- one for ensuring Standard List only has one parent-style resource reference (perhaps only one resource reference per-standard list request)
Contributor guide
Assessment
This issue has not been assessed yet.