-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Serializer][XMLEncoder] add a way to Annotate/Attribute the ROOT_NODE_NAME on a Class #51652
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
Comments
probably fixed by this #51476 |
@xabbuh some more tests to this problem:
and i don't know how to feed the Encoder with the Class Context yet |
Just ran into the same issue while trying to transform some JMS Serializer-based code into Symfony Serializer-based code. |
Thank you for this issue. |
i might have an idea to use special "#Key" parameters to get the Options to the Encoder but i need to brainstorm the idea a bit more |
Thank you for this issue. |
Still not possible to get Attribute Data into Encoder |
Description
add a new Annotation/Attribute to mark the
XMLEncoder::ROOT_NODE_NAME
on a classAnnotation\Context
can't be used for this because that can't be tagged in classes (yet)Example
results in:
The text was updated successfully, but these errors were encountered: