-
Notifications
You must be signed in to change notification settings - Fork 85
feat(Slash gRPC Client): Add gRPC support for Slash endpoints. #137
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
Conversation
client.go
Outdated
| token string | ||
| } | ||
|
|
||
| func (a *authorizationCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need example and unit test on how this is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can he just link to the appropriate interface that is being implemented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is required here? I have resolved the other requirements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise it looks great, but I'm curious. why you have to include dgo v1.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r1.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @anurags92 and @parasssh)
client.go, line 45 at r1 (raw file):
dc []api.DgraphClient } type authorizationCredentials struct {
rename to authCreds or something shorter
Motivation
This PR add support for gRPC client for Slash backends.
Usage:
This change is