[Feature request] 统一 onConfigLoad 的行为逻辑 #3902
Yuliang-Lee
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The feature, motivation(功能、动机)
当前文档内对动态修改配置的其中一个方法是在生命周期函数
onConfigLoad
生命周期中修改 里去操作,但是现在各个组件有不同的表现,比如@midway/typeorm
、@midway/bull
这样做是可以的,但是有些组件比如@midway/kafka
、@midway/mongoose
这些又不行,甚至没有办法动态设置配置。 这里能把所有组件行为改一致吗?Alternatives(替代方案)
No response
Additional context(其他上下文)
No response
Beta Was this translation helpful? Give feedback.
All reactions