Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple services with similar methods #19

Closed
rensdewolf opened this issue Mar 28, 2018 · 1 comment
Closed

Multiple services with similar methods #19

rensdewolf opened this issue Mar 28, 2018 · 1 comment

Comments

@rensdewolf
Copy link

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)?

@agreatfool
Copy link
Owner

Fixed. Please check the latest version v2.2.4.

If any issues remained, please contact me again. Thanks for your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants