-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix: 175 CompareTo Generation fails if fields include underscores #177
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesYou may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation |
pbj-core/pbj-compiler/src/main/java/com/hedera/pbj/compiler/PbjCompilerTask.java
Outdated
Show resolved
Hide resolved
pbj-core/pbj-compiler/src/main/java/com/hedera/pbj/compiler/PbjCompilerTask.java
Outdated
Show resolved
Hide resolved
* Adjusted ModelGenerator to use field `name` instead of `nameCamelFirstLower` when filtering comparable fields. * Added an abbreviated stack trace for exceptions when compiling proto files, to help debug future issues like this. * Modified comparable.proto in integration tests, renaming `bytes bytes` to `bytes test_bytes` to prevent regression. * Modified the spotless conventions to allow Java 21 to be used Signed-off-by: Joseph Sinclair <[email protected]>
2b62291
to
e1c8156
Compare
name
instead ofnameCamelFirstLower
when filtering comparable fields.bytes bytes
tobytes test_bytes
to prevent regression.Fixes: #175