Open julek-kal opened 1 year ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Connection with issue(s)
Close #1339
Solution description
When
targetType
is nullable and the class is annotated with both converters for nullable and non-nullable type,_compatibleMatch
returns two of them. So I've added a check iftargetType
is nullable andmatchingAnnotations
length is equal to 2, if so I proceed to try to find a non-null converter and remove it from the list ofmatchedConverters
.To Do