Repository navigation
Remove Service API from ServerImpl - #33
Conversation
There was a problem hiding this comment.
Does this interface buy us anything anymore? Do we expect it to grow?
There was a problem hiding this comment.
It didn't really buy us much before either. I honestly don't know if we expect it to grow. It seems trashing the interface and renaming ServerImpl to Server would be fine. If we claim the interface served a purpose before, then I can add start(), shutdown(), etc to the interface. We can't do that on client-side because the interface is used for interception, but that isn't the case on server-side.
There was a problem hiding this comment.
I'm fine keeping it for now ... we can always remove later.
|
@ejona86 I took a first pass ... looks good! |
|
@nmittler I responded to your comments. |
|
LGTM only nits or actions that could be taken later |
|
@ejona86 LGTM ... just address comments from @adriancole |
|
@adriancole, I've addressed or replied to all your comments. I think the only thing left is discussion of the API along with @nmittler. |
|
You sure did. Thanks for all the context. I know it is hard to enumerate |
|
@ejona86 LGTM, feel free to cherry-pick |
|
Okay, it seems both @adriancole and @nmittler are okay with the current API, but would still like it to be reduced in size/tweaked. We can have that become part of the discussion in #28, as long as it continues to make sense. As we tweak the API to ServerImpl, we can also try to keep it in sync with ChannelImpl at approximately the same time. I'm going to go ahead and merge this change, but we won't be considering the API final. It simply is better to have Service gone than have a 100% perfect API at this point. |
This will resolve #21