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
[Bug]: Middleware context.response object missing most of it params #5687
Comments
Thanks for your feedback, we have reproduced the issue and will fix it as soon as possible. |
Got it, we will fix it recently |
it fixed by #5700 |
@GiveMe-A-Name @yimingjfe Unfortunately still reproducible. PS: Reproduce link updated to 2.49.3 version. Please take a look. |
@kirillbashtenko class BaseResponse {
get cookie() {
return ..
}
}
const baseRes = new BaseResponse() In |
@GiveMe-A-Name Indeed, my bad, thank you, i'm closing this one. |
版本信息
问题详情
Hello, it looks like in the latest version, Middleware
context.response
is missing most of the declared things, we can't set cookies or do anything else.If you try to console log it this is all that you will see.
复现链接
https://github.com/kirillbashtenko/modernjs-middleware-issue
复现步骤
1 pnpm install
2 pnpm start
3 try console.log context.response in middleware
The text was updated successfully, but these errors were encountered: