-
Notifications
You must be signed in to change notification settings - Fork 435
Closed
Description
Currently, we have the following in our generated code:
public final class Echo_EchoServiceClient: GRPCServiceClient, Echo_EchoService {
public let connection: ClientConnection
public var serviceName: String { return "echo.Echo" }
public var defaultCallOptions: CallOptions
/// Creates a client for the echo.Echo service.
///
/// - Parameters:
/// - connection: `ClientConnection` to the service host.
/// - defaultCallOptions: Options to use for each service call if the user doesn't provide them.
public init(connection: ClientConnection, defaultCallOptions: CallOptions = CallOptions()) {
self.connection = connection
self.defaultCallOptions = defaultCallOptions
}
Should we inline these properties (except for serviceName) into GRPCServiceClient?
@glbrntt, what do you think?
Metadata
Metadata
Assignees
Labels
No labels