Skip to content

Commit

Permalink
docs(depinject): clarify how to wrap module
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jan 14, 2025
1 parent b4e88cc commit 818baee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions depinject/appconfig/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ var Register = RegisterModule
// will be injected into the container and can be requested by a provider
// function. All module initialization should be handled by the provided options.
//
// In some cases, a module may need to be manually overwritten from the global module
// registry. This can be done by calling RegisterModule again with the same config,
// but different options. This is useful when wrapping default modules.
//
// Protobuf message types used for module configuration should define the
// cosmos.app.v1alpha.module option and must explicitly specify go_package
// to make debugging easier for users.
Expand Down

0 comments on commit 818baee

Please sign in to comment.