dataiku / dss-plugin-salesforce

Write recipe for Salesforce
Apache License 2.0
0 stars 3 forks source link

Upgrade api version #8

Open jbardo opened 2 years ago

jbardo commented 2 years ago

Hello,

It seems the salesforce api version used in this plugin is quite old: 39.0 (Spring '17). It is limiting for working with newer SOQL features like the TYPEOF keyword, very useful for querying polymorphic relationships.

"SOQL TYPEOF expressions are not supported for API versions less than 46.0 ."

Is it possible to either upgrade to at least 46.0 (Summer '19), or something else like latest available in the salesforce instance, or allow to choose it? What would you recommend? The system I am currently working with is in version 54 (Spring '22) but I suppose some could be in older versions too.

Thanks

aziz-harazi commented 1 year ago

Hello I've just push a PR https://github.com/dataiku/dss-plugin-salesforce/pull/9 in order to update api version.

Thank you