-
Notifications
You must be signed in to change notification settings - Fork 280
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
Control layer group validation: @Validated(Save.class), the model cannot be correctly adapted. #243
Labels
enhancement
New feature or request
Comments
chenqi146
added a commit
to smart-doc-group/smart-doc-example-cn
that referenced
this issue
Apr 23, 2022
@chenqi146 |
chenqi146
added a commit
to smart-doc-group/smart-doc-example-cn
that referenced
this issue
Apr 24, 2022
Upon testing, it was discovered that the generated HTML implements grouped validation, but this is not achieved using the OpenAPI approach.
Version used:
The generated OpenAPI file:
Among them, the same schema is used for both adding and updating.
Comparison between HTML and OpenAPI:
***@***.***
发件人: Joker
发送时间: 2022-04-23 09:23
收件人: smart-doc-group/smart-doc
抄送: zhoupit; Author
主题: Re: [smart-doc-group/smart-doc] ***@***.***(Save.class),model中无法正确适配 (Issue #243)
This is the result of my test, there are currently no issues. What version of smart-doc are you using?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
2.6.8 still has the same issue |
shalousun
changed the title
控制层分组校验:@Validated(Save.class),model中无法正确适配
Control layer group validation: @Validated(Save.class), the model cannot be correctly adapted.
Jul 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary(关于这个pr的描述)
Entity classes cannot generate validation rules based on the control layer's grouping strategy.
Basic example(pr的用例)
Motivation(提出这个pr目的)
Is there a plan to adapt to this requirement?
The text was updated successfully, but these errors were encountered: