Skip to content
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

feat: support middlewares from env #252

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

xhdnoah
Copy link

@xhdnoah xhdnoah commented Dec 12, 2024

在一些场景下 我们希望可以通过环境变量向项目中安装一些业务无关的中间件 如 tracing 等 因此在加载 middleware 时尝试从 env 中读取 middleware 字符串并写入 middlewares 数组

@xhdnoah xhdnoah force-pushed the feat/middleware-from-env branch 2 times, most recently from 913f98a to a5eda87 Compare December 17, 2024 09:57
@coveralls
Copy link

coveralls commented Dec 17, 2024

Coverage Status

coverage: 92.505% (+0.02%) from 92.483%
when pulling 8d90789 on xhdnoah:feat/middleware-from-env
into de92a75 on shanbay:master.

@xhdnoah xhdnoah force-pushed the feat/middleware-from-env branch from a5eda87 to 1270c38 Compare December 18, 2024 02:12
@xhdnoah xhdnoah changed the title feat: support middlewares from env Draft:feat: support middlewares from env Dec 25, 2024
@xhdnoah xhdnoah changed the title Draft:feat: support middlewares from env feat: support middlewares from env Dec 25, 2024
@xhdnoah xhdnoah force-pushed the feat/middleware-from-env branch from 800db19 to 8d90789 Compare December 25, 2024 05:40
@nicholasxuu nicholasxuu merged commit d59c527 into shanbay:master Dec 25, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants