-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer] Add xml context option to ignore empty attributes #58599
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 t 8000 o 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nicolas-grekas
approved these changes
Oct 23, 2024
658c70f
to
081e6df
Compare
mtarld
reviewed
Oct 29, 2024
mtarld
approved these changes
Oct 29, 2024
fabpot
approved these changes
Jan 17, 2025
c9f5088
to
d011981
Compare
Thank you @qdequippe. |
OskarStark
reviewed
Jan 17, 2025
7.3 | ||
--- | ||
|
||
* Deprecate the `CompiledClassMetadataFactory` and `CompiledClassMetadataCacheWarmer` classes | 8000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes in the CHANGELOG looks unrelated 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to mention that I fixed it in the next commit. My bad, sorry.
javiereguiluz
added a commit
to symfony/symfony-docs
that referenced
this pull request
Jan 21, 2025
…uippe) This PR was submitted for the 7.2 branch but it was squashed and merged into the 7.3 branch instead. Discussion ---------- [Serializer] Documentation for xml empty attribute Add documentation for symfony/symfony#58599 Commits ------- 0776cba [Serializer] Documentation for xml empty attribute
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sometimes XML attributes are optional and should not be present in the serialized data.
This PR adds the option to skip empty attributes (null or empty) during encoding.