googleapis / googleapis/api-linter

AIP-123: Handling of names for nested collections only considers immediate parent

Open
#1,424 1 comment 0 reactions 0 assignees View on GitHub
priority: p2 type: feature request
Dominant language
Go
Stars
765
Forks
181
Avg merge
2d 12h
Merged PRs (30d)
3

Description

This is for `core::0123::resource-pattern-singular` and `core::0123::resource-pattern-plural`, and how AIP-123 interacts with affordance for nested collections in AIP-122.

I'm not entirely certain whether this is just a linter problem or also needs clarification in [AIP-122](https://google.aip.dev/122). The basic issue is that the handling of nested collections only considers the parent, rather than all ancestors. e.g. if you have a top-level collection `users`, you should be able to shorten the pattern for any descendant resource type starting with `User`.

See #1408 and #1403.

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.