mike4aday / SwiftlySalesforce

The Swift-est way to build native mobile apps that connect to Salesforce.
MIT License
136 stars 43 forks source link

Composite resources support #126

Closed perbrondum closed 3 years ago

perbrondum commented 3 years ago

Batch/tree/composite.

I use batch but not sure if swiftlysalesforce supports tree and composite?

mike4aday commented 3 years ago

Hi @perbrondum - since Swiftly Salesforce is a Swift Combine wrapper around the Salesforce REST APIs, you can use it for tree and composite endpoints, too. Swiftly Salesforce doesn't yet have 'out of the box' tree or composite methods, but you could call request with your own custom struct that implements Decodable to deserialize the response from a tree or composite API endpoint.

perbrondum commented 3 years ago

Thank you.