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

Enhance coercion in RecordConverters

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

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

    Description

      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.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: