Skip to content

Multiple services with similar methods #19

@rensdewolf

Description

@rensdewolf

If I define two services in the same proto file with similar method names but different parameters, the resulting definitions lead to conflicts. For example:

service Library {
    rpc GetBook (GetBookRequest) returns (Book) {}
}

service BookStore {
    rpc GetBook (GetBookOrder) returns (Book) {}
}

This creates two interfaces for GetBook (IGetBook) that have different implementations and lead to issues when using the typescript compiler. I wondered if there is a way to deal with this (within the same package scope)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions