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

feat: Decode with iter by default #21

Merged
merged 7 commits into from
Nov 15, 2024

Conversation

willemneal
Copy link
Member

Decoding will now try using an iterator. If it results in a vector of length 1, then the single item is used otherwise it is treaded like a vector.

This handles the decode part of: #10

Decoding will now try using an iterator. If it results in a vector of length 1, then the single item is used otherwise it is treaded like a vector
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
tests/tests.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
willemneal and others added 2 commits November 14, 2024 19:00
Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com>
tests/tests.rs Outdated Show resolved Hide resolved
@willemneal
Copy link
Member Author

@leighmcculloch I don't have permission to merge.

@leighmcculloch leighmcculloch merged commit 85159d5 into stellar:main Nov 15, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants