You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jeremy Ross (Jira)" <ji...@apache.org> on 2022/09/05 02:29:00 UTC

[jira] [Comment Edited] (CAMEL-16642) camel-salesforce: Detect SObject type from query result

    [ https://issues.apache.org/jira/browse/CAMEL-16642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600130#comment-17600130 ] 

Jeremy Ross edited comment on CAMEL-16642 at 9/5/22 2:28 AM:
-------------------------------------------------------------

[~davsclaus] Unfortunately there is no metadata or response headers that indicate the type of the response. So we can either parse the query, or sniff the type of response. I pushed a PR that does the latter. LMK what you think.


was (Author: jeremyross):
[~davsclaus] Unfortunately there is do metadata or response headers that indicate the type of the response. So we can either parse the query, or sniff the type of response. I pushed a PR that does the latter. LMK what you think.

> camel-salesforce: Detect SObject type from query result
> -------------------------------------------------------
>
>                 Key: CAMEL-16642
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16642
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 3.10.0
>            Reporter: Jeremy Ross
>            Priority: Major
>
> Can we sniff the result and detect SObject type? It's a bit of a pain to have to provide the sObjectClass option.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)