-
Notifications
You must be signed in to change notification settings - Fork 882
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
Implementing Consumer<Builder> client operations #280
Conversation
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.
Looks good other than comment on other PR around docs making it clear that .build() is being called automatically.
0725586
to
f7f0a91
Compare
fa48607
to
2bfbec6
Compare
.collect(Collectors.toList())); | ||
return methods; | ||
.collect(toList())); | ||
return methods.stream().sorted(Comparator.comparing(m -> m.name)).collect(toList()); |
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.
Question: I saw some places we are doing static imports and some are not. Do we want to make it more consistent?
// TODO This is inconsistent with how async client reuses method signature | ||
static MethodSpec.Builder operationMethodSignature(IntermediateModel model, OperationModel opModel) { | ||
private static MethodSpec.Builder operationBaseSignature(IntermediateModel model, | ||
OperationModel opModel, |
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.
Alignment of parameters is off here
Quote from the comment Sam left on my PR. 😂
@@ -37,7 +37,7 @@ | |||
*/ | |||
FILE, | |||
|
|||
/** | |||
CONSUMER_BUILDER, /** |
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.
minor formatting issue
2bfbec6
to
baec9e3
Compare
73351c3
to
710b3af
Compare
baec9e3
to
a67663e
Compare
a619d08
to
769658f
Compare
see #278