Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17125

camel-salesforce: Improve support for polymorphic relationship queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.12.0
    • 3.13.0
    • camel-salesforce
    • None
    • Unknown

    Description

      Salesforce has the notion of polymorphic relationships in which a particular relationship can refer to records of a set of types. E.g., The Owner relationship can often refer to a User, Group or Calendar.

      When querying for an object (record) that has a polymorphic relationship, Camel currently deserializes the related object to the superclass AbstractDescribedSObjectBase, throwing away all the subclass-specific data. However, the query result contains type information about the related object, therefore, using this type information, we should be able to deserialize to the specific subclass.

      Attachments

        Activity

          People

            jeremyross Jeremy Ross
            jeremyross Jeremy Ross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: