Skip to content

Commit

Permalink
Full name for field
Browse files Browse the repository at this point in the history
  • Loading branch information
Duzhinsky committed Oct 11, 2023
1 parent 4f20cbb commit af8be6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private void setNext(@NotNull FieldTypeProcessor.Chain typeProcessor) {
if (next != null) {
return next.processType(field);
}
throw new IllegalArgumentException("Failed to generate Java type for the field " + field.getName());
throw new IllegalArgumentException("Failed to generate Java type for the field " + field.getFullName());
}
}
}
1 change: 1 addition & 0 deletions tests/src/test/proto/messageGeneration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ syntax = "proto3";
package org.sudu.protogen.test.messageGeneration;

import "protogen/options.proto";
import "google/protobuf/wrappers.proto";

option java_multiple_files = true;
option (.protogen.enable) = true;
Expand Down

0 comments on commit af8be6d

Please sign in to comment.