-
Notifications
You must be signed in to change notification settings - Fork 580
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
Remove TODOs from 3.0 #4411
Comments
Partial resolution was made via PR: #4447 which covers the following:
|
Other fixes are being worked on by Laird and Tomas:
|
Remaining issues to work on:
|
For the
I found this suggestion from: https://stackoverflow.com/questions/24962607/multiple-versions-of-the-same-dependency-in-maven. Somehow a dot in the groupId is translated as a |
After discussing with @tomas-langer, we are not doing above workaround to add dot |
Remaining TODO in the micronaut area:
and Per discussion with Tomas, the goal is to upgrade to the latest Micronaut libraries with the hope that they have switch to jakarta validation, but looks like this is not the case. The latest micronaut-validation-3.5.2.pom has this:
which means it does not support jakarta validation. |
Micronaut 3.5.2 guide https://docs.micronaut.io/3.5.2/guide/index.html#beanValidation and SNAPSHOT guide https://docs.micronaut.io/snapshot/guide/index.html#beanValidation both mentions:
Created PR: #4476, the goal of which is to use 2.0.2 of jakarta.validation-api instead of 3.0.0 to revert back to the use of javax.validation rather than jakarta.validation which is what even the latest version of micronaut-validation supports. |
For the remaining TODO:
For this issue, I finally figured out that both bean definitions that was deemed duplicate need to be added after comparing it with v2.5.1 behavior. Here’s what I debugged for what we deemed are duplicate bean definitions: In Helidon 2.5.1 (We add both):
In Helidon 3.0 (We sort and add only the first one)
The first field in both lists is the MicronautBean.toString() and the next field after the dash is MicronautBean.definitionRef().getBeanDefinitionName(). In Helidon 3, it looks like a duplicate and that is because toString() was overridden to return the bean type while in Helidon 2.5, it returns the object name. I have changed that to add hashCode so it will be unique. Also we don’t need to choose of which to add between the 2 bean definitions that we thought are duplicate, instead we add both just like in v2.5. So the new code will look like the same as the code prior to the Jakarta 3.0 change. PR related to the mentioned change : #4494 |
List of PRs that complete this task:
Searching |
Check all instances of
TODO 3.0.0-JAKARTA
and fix the issues (or remove the TODO if the issue is fixed/works as designed).The text was updated successfully, but these errors were encountered: