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

Use the service descriptor instead of the service binder to populate routes #2

Merged
merged 5 commits into from
Jan 10, 2019

Conversation

JunTaoLuo
Copy link
Owner

Prototyping grpc/grpc-dotnet#21

Very rough draft of the implementation. This works but the reflection and casting logic is rather ugly. However, this would mean that we do not need to rely on the ServiceBinder mechanism to populate routes and can significantly reduce the types that must be included in Grpc.Common

cc @JamesNK

Server/Dotnet/GrpcRouteBuilderExtensions.cs Outdated Show resolved Hide resolved
Server/Internal/ServerCallHandler.cs Outdated Show resolved Hide resolved
Copy link
Contributor

@JamesNK JamesNK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like it 👍

@JunTaoLuo JunTaoLuo merged commit 2d1b831 into master Jan 10, 2019
@JunTaoLuo JunTaoLuo deleted the johluo/use-descriptor branch January 10, 2019 23:06
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