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

Handle empty array at built-in YAML serializer #7099

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented Oct 24, 2023

What was the end-user or developer problem that led to this PR?

Fixes #7098

What is your fix for the problem, implemented in this PR?

I added simple condition for empty array. But I'm not sure this is the best approach for fixing this issue.

Make sure the following tasks are checked

@simi simi merged commit 2e1fdbc into master Oct 24, 2023
92 checks passed
@simi simi deleted the handle-empty-array branch October 24, 2023 16:31
deivid-rodriguez pushed a commit that referenced this pull request Nov 8, 2023
Handle empty array at built-in YAML serializer

(cherry picked from commit 2e1fdbc)
deivid-rodriguez pushed a commit that referenced this pull request Nov 8, 2023
Handle empty array at built-in YAML serializer

(cherry picked from commit 2e1fdbc)
deivid-rodriguez pushed a commit that referenced this pull request Nov 8, 2023
Handle empty array at built-in YAML serializer

(cherry picked from commit 2e1fdbc)
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.

YAMLSerializer is different behavior with Psych
4 participants