ammachado commented on PR #28651:
URL: https://github.com/apache/camel/pull/28651#issuecomment-6487995524

   Thanks for the review. On point 1 (`EnumTypeConverter.doConvertTo` calling 
`tc.convertTo()` on the try path): agreed, fixed in a5bcae4e2525. A direct 
converter found by the lookup is now called with `tryConvertTo` when 
`tryConvert` is set. The new test 
`TypeConverterLookupCacheTest.testTryConvertToEnumTriesTheDirectTypeConverter` 
registers an `Integer` to enum converter whose `convertTo` throws, and checks 
that `tryConvertTo` calls only the converter's `tryConvertTo` (it fails without 
the fix).
   
   Point 2 is answered in its inline thread.
   
   _Claude Code on behalf of Adriano Machado (@ammachado)_
   
   _This was generated by an AI agent and may contain inaccuracies. Please 
verify before relying on it._
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to