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

Throw an explicit error when asStream is used with bulk helper #2078

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

JoshMock
Copy link
Member

The bulk helper does not support asStream, as it assumes the response will be parsed JSON rather than a raw stream. It currently takes a lot of debugging to understand why the helper fails in this case, so this adds an explicit check and throws an error with a clear message.

Thanks to @achyutjhunjhunwala for catching this (pun intended)!

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

Successfully merging this pull request may close these issues.

1 participant