Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

[DIFF PR] showing diffs for moving code from gax-grpc to gax#374

Closed
garrettjonesgoogle wants to merge 1 commit intogoogleapis:gax-httpjsonfrom
garrettjonesgoogle:gax-httpjson-diffpr
Closed

[DIFF PR] showing diffs for moving code from gax-grpc to gax#374
garrettjonesgoogle wants to merge 1 commit intogoogleapis:gax-httpjsonfrom
garrettjonesgoogle:gax-httpjson-diffpr

Conversation

@garrettjonesgoogle
Copy link
Copy Markdown
Contributor

This is a companion PR for #359 to show diffs in cases where git didn't match up files.


/** Class with utility methods to create instances of UnaryCallable with grpc-specific features. */
/**
* Class with utility methods to create callable objects using provided settings.

This comment was marked as spam.

This comment was marked as spam.

Copy link
Copy Markdown
Contributor

@vam-google vam-google left a comment

Choose a reason for hiding this comment

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

This particular diff PR is LGTM. There are still few concerns left in the original PR (Operation.getInitialFuture() removal, Transformers test, lots of testing classes in main/*/testing instead of test/ folder)

ClientStreamingCallable<RequestT, ResponseT> createDirectClientStreamingCallable(
MethodDescriptor<RequestT, ResponseT> methodDescriptor) {
return new GrpcDirectClientStreamingCallable<>(methodDescriptor);
public static CallableFactory create(TransportDescriptor transportDescriptor) {

This comment was marked as spam.

This comment was marked as spam.

OperationsStub operationsStub,
OperationCallSettings<RequestT, ResponseT, MetadataT, Operation> operationCallSettings) {
@InternalApi
class OperationCallableImpl<RequestT, ResponseT, MetadataT>

This comment was marked as spam.

This comment was marked as spam.

initialContext = getClientContext(initialChannel, executor);
}

private static class ResponseTransformer implements ApiFunction<OperationSnapshot, Color> {

This comment was marked as spam.

This comment was marked as spam.

@garrettjonesgoogle
Copy link
Copy Markdown
Contributor Author

closing diff PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants