Skip to content

[Support] controller控制器接收的body参数,是否不能自动深度转换为自定义的复杂类的实例?还是需要一些配置才可以? #4219

Answered by czy88840616
DannyWin asked this question in Q&A
Discussion options

You must be logged in to vote

自动转换类这个逻辑太隐晦了,新版本 v4 中已经移除了,后续自动转换只会显式在 validate 时进行。

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@DannyWin
Comment options

Comment options

You must be logged in to vote
1 reply
@czy88840616
Comment options

Comment options

You must be logged in to vote
4 replies
@czy88840616
Comment options

@DannyWin
Comment options

@czy88840616
Comment options

Answer selected by DannyWin
@DannyWin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question / discussion This issue or pull request need be discussion
2 participants