Skip to content

Conversation

@mehrdada
Copy link
Contributor

Addresses #1223

@mehrdada mehrdada requested a review from dfawley May 15, 2017 18:43
@mehrdada
Copy link
Contributor Author

PTAL

Copy link
Contributor

@mwitkow mwitkow left a comment

Choose a reason for hiding this comment

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

LGTM :)

Just one minor suggestion.

type EmptyCallOption struct{}

func (EmptyCallOption) before(*callInfo) error { return nil }
func (EmptyCallOption) after(*callInfo) {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a
var _ CallOption = EmptyCallOption{} to make sure this always satisfies the contract?

@mehrdada mehrdada merged commit 11d93ec into grpc:master May 17, 2017
@mehrdada mehrdada deleted the emptycalloption branch May 17, 2017 21:47
@menghanl menghanl added 1.4 Type: Feature New features or improvements in behavior labels Jun 7, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Type: Feature New features or improvements in behavior

4 participants