Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Nov 13, 2019

Motivation:

We gave users the option to customise how the path for the RPC was
formatted. The protocol allows this but discourages it.

Modifications:

  • Inline the service name into the generated code
  • Remove GRPCServiceClient and just use GRPCClient
  • Update generated code

Result:

  • Users are now discouraged in the strongest possible way to not use
    custom paths.
  • Generated code is simpler.

Motivation:

We gave users the option to customise how the path for the RPC was
formatted. The protocol allows this but discourages it.

Modifications:

- Inline the service name into the generated code
- Remove GRPCServiceClient and just use GRPCClient
- Update generated code

Result:

- Users are now discouraged in the strongest possible way to not use
  custom paths.
- Generated code is simpler.
@glbrntt
Copy link
Collaborator Author

glbrntt commented Nov 13, 2019

Fixes #628

@glbrntt glbrntt requested a review from MrMage November 13, 2019 14:29
@glbrntt glbrntt merged commit 2685837 into grpc:nio Nov 13, 2019
@glbrntt glbrntt deleted the gb-inline-servicename branch November 13, 2019 18:20
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

Successfully merging this pull request may close these issues.

2 participants