Skip to content

[ggj][parsing] fix: update messageTypes.get(simpleName) fix in HttpRuleParser #548

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

Merged
merged 19 commits into from
Nov 21, 2020
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
bb8f2f2
fix: align resname ctors with superclass variants
miraleung Nov 19, 2020
59d8338
Merge branch 'master' of github.com:googleapis/gapic-generator-java i…
miraleung Nov 19, 2020
7336db7
fix: avoid type collisions - refactor {Concrete,Vapor}Ref into AstNodes
miraleung Nov 20, 2020
2f7c857
fix: better message null checks in Parser
miraleung Nov 20, 2020
8814542
fix: map proto.Empty RPC types to void in ServiceClient
miraleung Nov 20, 2020
ca8398f
fix: improve import(shortName) state-keeping in ImportWriterVisitor
miraleung Nov 20, 2020
b48f494
fix: fix stub pkg for all ServiceSettingsStub usages
miraleung Nov 20, 2020
93ed4bd
fix: handle older protos with javaMultipleFiles=false
miraleung Nov 20, 2020
bb7d59f
fix: gate isPaged on all fields for monolith back-compat
miraleung Nov 20, 2020
15c781c
fix: fail early if bazel lacks a grpc_service_config.json file
miraleung Nov 20, 2020
2dcee4e
fix: add Bazel handling for lack of resname helper classes
miraleung Nov 21, 2020
3c732cf
fix: reverse conditional
miraleung Nov 21, 2020
c60b038
fix: handle floating-point types for test codegen assertEquals
miraleung Nov 21, 2020
38a47d7
fix: handle older protos w/o java_mult_file and w/o java_outer_classn…
miraleung Nov 21, 2020
1a86e8b
fix: fix bidiStreamCall to use one param in ServiceClientTest codegen
miraleung Nov 21, 2020
78e537f
fix: update messageTypes.get(simpleName) fix in HttpRuleParser
miraleung Nov 21, 2020
c3f54b8
Merge branch 'master' into ag/14
miraleung Nov 21, 2020
8bea697
Merge branch 'master' into ag/14
miraleung Nov 21, 2020
e937ae3
Merge branch 'master' into ag/14
miraleung Nov 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ public static Optional<List<String>> parseHttpBindings(
String subField = descendantBindings[i];
if (i < descendantBindings.length - 1) {
Field field = containingMessage.fieldMap().get(subField);
containingMessage = messageTypes.get(field.type().reference().name());
containingMessage = messageTypes.get(field.type().reference().simpleName());
Preconditions.checkNotNull(
containingMessage,
String.format(
"No containing message found for field %s with type %s",
field.name(), field.type().reference().simpleName()));
} else {
checkHttpFieldIsValid(subField, containingMessage, false);
}
Expand Down