Skip to content

[Serializer] Fix XmlEncoder encoding attribute false #47048

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

Merged

Conversation

alamirault
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? no
Deprecations? no
Tickets Fix #47002
License MIT
Doc PR
[
    'foo' => [
        '@bar' = true,
        '@baz' = false,
    ]
]

Before patch:

<foo bar="1" baz="">

After patch:

<foo bar="1" baz="0">

@fabpot
Copy link
Member

fabpot commented Jul 24, 2022

Thank you @alamirault.

@fabpot fabpot merged commit 6183d66 into symfony:4.4 Jul 24, 2022
@alamirault alamirault deleted the 47002-fix-xml-encoder-false-attribute branch August 7, 2022 17:21
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.

3 participants