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

SerializationGraphNavigator not receiving correct serializeNull config during initialize #1158

Closed
gabrielspiteri-highlight opened this issue Jan 24, 2020 · 1 comment

Comments

@gabrielspiteri-highlight
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no

If you set the serialize_null yaml config to true with the following configuration:

jms_serializer:
   default_context:
        serialization:
            serialize_null: true

The context object received by the SerializationGraphNavigator the shouldSerializeNull method always returns false

Steps required to reproduce the problem

  1. Configure JMS to serialize_null: true
  2. Serialize and object with null properties

Expected Result

  • Properties with null values show

Actual Result

  • Properties with null values do not show
@goetas
Copy link
Collaborator

goetas commented Jan 25, 2020

see #1159

@goetas goetas closed this as completed Jan 25, 2020
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

No branches or pull requests

2 participants