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

能否安全地去掉注解的 order 属性? #75

Open
hylexus opened this issue May 14, 2023 · 0 comments
Open

能否安全地去掉注解的 order 属性? #75

hylexus opened this issue May 14, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@hylexus
Copy link
Owner

hylexus commented May 14, 2023

目前 @RequestField@ResponseField 注解都有 order 属性来保证序列化和反序列化时属性的顺序。
能否安全地去掉这个 “看似多余” 的属性?

没找到这方面的官方文档说明。

参考 java-reflection-getting-fields-and-methods-in-declaration-order)

@hylexus hylexus added the help wanted Extra attention is needed label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant