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

是否可以使用scala自定义校验 #11

Open
cjdxhjj opened this issue Dec 25, 2023 · 1 comment
Open

是否可以使用scala自定义校验 #11

cjdxhjj opened this issue Dec 25, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@cjdxhjj
Copy link

cjdxhjj commented Dec 25, 2023

scala/scala3#18850

@jxnu-liguobin
Copy link
Member

使用java实现extractor是无效的,而使用scala实现extractor又无法编译,目前基本就是无解。scala/scala3#18936

所以本库仅支持在List字段上的@Valid的cascade,无法支持List[A @Xxx] 除非编译器支持获取注解信息

@jxnu-liguobin jxnu-liguobin added the help wanted Extra attention is needed label Dec 25, 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

2 participants