Skip to content

Commit

Permalink
[feat][sdk] Add document to the grpc generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
wt0530 committed Aug 19, 2024
1 parent d7ea412 commit 4fff173
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
if (elements.getPackageOf(reqTypeElement).getSimpleName().toString().equals("index")) {
messageGenerateProcessor.messages.get(reqTypeName).addSuperinterface(Constant.STORE_REQ);
}
if (elements.getPackageOf(reqTypeElement).getSimpleName().toString().equals("document")) {
messageGenerateProcessor.messages.get(reqTypeName).addSuperinterface(Constant.STORE_REQ);
}
serviceElements.add((TypeElement) element.getEnclosingElement());
entityElements.add((TypeElement) reqTypeElement.getEnclosingElement());
} catch (Exception e) {
Expand Down

0 comments on commit 4fff173

Please sign in to comment.