You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Go and system type/arch are you using?
go1.20.4 linux/amd64
What version of GoFrame are you using?
2.5.6升级2.6.1
Can this bug be re-produced with the latest release?
1、升级后POST表单请求(application/x-www-form-urlencoded 或 multipart/form-data)进入控制器后,r.GetBody(),r.GetBodyString()和r.Body都读取不到数据,只能增加中间件设置r.MakeBodyRepeatableRead(true)。这与2.5.6版本不兼容,请问后续会做兼容,还是特意改动。
What version of
Go
and system type/arch are you using?go1.20.4 linux/amd64
What version of
GoFrame
are you using?2.5.6升级2.6.1
Can this bug be re-produced with the latest release?
1、升级后POST表单请求(application/x-www-form-urlencoded 或 multipart/form-data)进入控制器后,r.GetBody(),r.GetBodyString()和r.Body都读取不到数据,只能增加中间件设置r.MakeBodyRepeatableRead(true)。这与2.5.6版本不兼容,请问后续会做兼容,还是特意改动。
2、gconv.Map()与MapDeep()方法也与前版本不兼容。特别是Map()方法参数已经改动,MapDeep()方法理应也做改动,可却并未看到。升级后filter := gconv.MapDeep(req.Filter)现在得写成这样filter := gconv.Map(req.Filter, gconv.MapOption{Deep: true, OmitEmpty: true}),且gconv.Map()在2.5.6之前默认OmitEmpty=true,现在却是false。
The text was updated successfully, but these errors were encountered: