Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composite resources support #126

Closed
perbrondum opened this issue Dec 8, 2020 · 2 comments
Closed

Composite resources support #126

perbrondum opened this issue Dec 8, 2020 · 2 comments
Assignees
Labels

Comments

@perbrondum
Copy link

perbrondum commented Dec 8, 2020

Batch/tree/composite.

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

@mike4aday
Copy link
Owner

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.

@mike4aday mike4aday self-assigned this Dec 11, 2020
@perbrondum
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants