-
Notifications
You must be signed in to change notification settings - Fork 109
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: register all interfaces in encoding config #2828
Conversation
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughWalkthroughThe changes enhance the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (1)
- app/encoding.go (1 hunks)
Additional context used
Path-based instructions (1)
app/encoding.go (1)
Pattern
**/*.go
: Review the Go code, point out issues relative to principles of clean code, expressiveness, and performance.
Additional comments not posted (2)
app/encoding.go (2)
4-21
: Import statements look good.The added import statements are necessary for registering interfaces from the respective packages. They follow the standard Go syntax and naming conventions.
29-44
: Interface registrations are comprehensive and well-structured.The added interface registrations in the
MakeEncodingConfig
function are crucial for ensuring interoperability between modules. The registrations cover a wide range of packages, indicating a comprehensive approach. The code is clear, concise, and follows a logical order, grouping related packages together.
9a92883
to
5c99a7c
Compare
* fix: register all interfaces in encoding config * register more types
Fix #2827
We have these
RegisterInterfaces()
calls copy pasted everywhere. Someone should probably clean theses up, but it would be nice to get state exports unblocked in the short term.Will need to backport to
release/v19
and cut a 19.2.1Summary by CodeRabbit
New Features
Bug Fixes