aofall commented on PR #13923:
URL: https://github.com/apache/dubbo/pull/13923#issuecomment-2109207600

   > @aofall How about make 
`org.apache.dubbo.validation.support.jvalidation.JValidation` as an adapter? 
And it do not mean `javax` or `jakarta`. It just choose the real implement.
   
   @AlbumenJ 
   
   I found the `dubbo-filter/dubbo-filter-validation` module has been moved to 
`dubbo-plugin/dubbo-filter-validation` in 3,3 branch.
   
   I think this follow class can extracted into a separate module like 
`dubbo-filter-validation-api` and make the real implement like 
dubbo-spi-extension. 
   
   Such as `dubbo-filter-validation-hibernate-javax` and 
`dubbo-filter-validation-hibernate-jakarta`. And create an adapter module like 
`dubbo-filter-validation-hibernate` and set it as the default validtion 
extensions that the supports automatic switch `javax` and `jakarta`.
   
   `org.apache.dubbo.validation.Validation` 
   `org.apache.dubbo.validation.Validator` 
   `org.apache.dubbo.validation.MethodValidated`
   `org.apache.dubbo.validation.filter.ValidationFilter`
   `org.apache.dubbo.validation.support.AbstractValidation`
   
   Maybe there are some big changes, if the above plan is passed, will it be 
better to develop on the 3.3 branch?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to