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

Patch/sequence field singleton #974

Open
wants to merge 4 commits into
base: v3
Choose a base branch
from

Conversation

polkeli
Copy link

@polkeli polkeli commented Jul 13, 2023

Reference Issue: #100

This patch adds a check in the decode section to understand the target. If said target is of type reflect.Slice or reflect.Array but the source content is of string, then we convert the source Node to a SequenceNode and its matching content to the sequence structure. It then drops down into the decoder.sequence path to continue processing.

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

Successfully merging this pull request may close these issues.

None yet

1 participant