-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
salesforce: autofetch is broken #644
Comments
And there are no unit tests on any of this functionality |
EOD update I have started working on this but i need @josephjclark input. I think we shouldn't combine records into a single array because the other metadata will be lost (See screenshot attached below 👇🏽 ). ![]() |
The other metadata is not useful when using autofetch. We'll use that stuff internally but there's no point feeding it back to the user. |
Agreed with Joe's comment. |
The autofetch feature on the salesforce query sort of works but also not really.
This PR #478 introduced a few regressions:
[0][0]
Basically autofetch needs to push the RECORDS into a single flat results array
Not to mention that the code is a bit quirky, to say the least.
I'd also ask whether callback should be triggered per batch, or at the end result. I think that when you're talking about a batch processing API it make sense to chunkup the callback or else you're likely to hit a problem downstream. Maybe this is an option. This is something that comes up on many APIs so I'd want to think carefully about what we do here.
The text was updated successfully, but these errors were encountered: