Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In this pull request, I have taken the initiative to streamline code generation and message parsing by removing superfluous elements such as the prost and codegen functions, which were deemed unnecessary in the current context.
Moreover, I have placed a strong emphasis on eliminating hardcoding within the codebase, a crucial step towards enhancing maintainability and flexibility in the system.
Ensuring consistency in string formats from raw strings (r#"") to regular strings ("") remains a key aspect of this update. While raw strings are typically utilized for intricate JSON data with special escape sequences like \n or ", the transition to regular strings can offer a more streamlined representation when these complex escape sequences are not present.
Fixes #1445
Type of change
not work as expected)
How Has This Been Tested?
Both bazel test and cargo test passed. Check coverage status using "cargo +nightly llvm-cov test --all --tests --branch --html"
Checklist
bazel test //...
passes locallyThis change is