Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-1895

Enhance coercion in RecordConverters

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • Icon: Work Item Work Item
    • Resolution: Done
    • Icon: Major Major
    • 1.32.0
    • None
    • None
    • All
    • GreenHopper Ranking:
      0|i20vbf:
    • 9223372036854775807
    • Small

      The RecordConverters.coerce() method do not accept all mappings expected and leads to IllegalArgumentException when trying to coerce when expected type is not a kinda instaceOf expected.

      The MappingUtils.coerce() method in component-runtime-di has a more broader coverage.
      We should use this method in RecordConverters.

       

            emmanuel_g emmanuel gallois
            emmanuel_g emmanuel gallois
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: