fix: we can use modules in the builders after all
This commit is contained in:
parent
d51c52b985
commit
b4e2e962e5
|
@ -28,7 +28,7 @@ func BuildApis(config *viper.Viper) fx.Option {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return fx.Options(options...)
|
return fx.Module("api", fx.Options(options...))
|
||||||
}
|
}
|
||||||
|
|
||||||
type LifecyclesParams struct {
|
type LifecyclesParams struct {
|
||||||
|
|
|
@ -28,7 +28,7 @@ func BuildProtocols(config *viper.Viper) fx.Option {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return fx.Options(options...)
|
return fx.Module("protocols", fx.Options(options...))
|
||||||
}
|
}
|
||||||
|
|
||||||
type LifecyclesParams struct {
|
type LifecyclesParams struct {
|
||||||
|
|
Loading…
Reference in New Issue