Skip to content

update linter to support _id in variable names and kebab-case in path #107

@toumorokoshi

Description

@toumorokoshi

The AEPs are currently being updated to support snake_case with _id fields: aep-dev/aeps#321

Updating aepc to use this new schema raises proto errors. specifically the current errors are:

example/bookstore/v1/bookstore.proto:375:3:Resource pattern "stores/{store_id}" must alternate between collection and identifier. "{store_id}" is not an identifier (buf-plugin-aep)
example/bookstore/v1/bookstore.proto:375:3:Variable names should omit the `_id` suffix, such as "stores/{store}". (buf-plugin-aep)
example/bookstore/v1/bookstore.proto:375:3:Resource patterns must use kebab-case for collection identifiers. (buf-plugin-aep)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions