Skip to content

Commit

Permalink
Merge pull request #7 from gozix/fix-controller-configurator
Browse files Browse the repository at this point in the history
Mark controller configurator argument as optional
  • Loading branch information
snovichkov committed Jan 19, 2024
2 parents acd074c + 0f2845a commit 604a412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion echo.go
Expand Up @@ -52,7 +52,7 @@ func (b *Bundle) Build(builder di.Builder) error {
di.Provide(command.NewHTTPServer, glue.AsCliCommand()),

// configurator's
di.Provide(configurator.NewController, AsConfigurator()),
di.Provide(configurator.NewController, di.Constraint(0, di.Optional(true)), AsConfigurator()),
di.Provide(configurator.NewEcho, AsConfigurator()),
di.Provide(configurator.NewErrHandler, AsConfigurator()),
di.Provide(
Expand Down

0 comments on commit 604a412

Please sign in to comment.