Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Read and propagate error from our iterator when decoding into slice #75

Merged

Conversation

suhailpatel
Copy link
Member

If we spot an error when decoding from the slice use case, we should return an error upstream. This makes our decoding consistent between the slice and struct use case.

We weren't handling the error case when iterating through the Scanner
gave an error. With gocql, it's especially important.
If we spot an error when decoding from the slice use case, we should
return an error upstream
@suhailpatel suhailpatel merged commit 6c7c28d into fix-tests-targetting-multiread Mar 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants