You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I'm trying to deserialize a User sent by means of JMSSerializer and its Doctrine Contructor. Everything works fine if UserInfo is not specified. User is loaded from the DB and the sent fields are updated:
short_date_format is update, but all the other fields will not be loaded from the DB, setting all of them to null. This is not the behavior I would like to get. Am I misusing JMSSerializer and the doctrine constructor?
The text was updated successfully, but these errors were encountered:
I have
User
andUserInfo
And I'm trying to deserialize a User sent by means of JMSSerializer and its Doctrine Contructor. Everything works fine if
UserInfo
is not specified. User is loaded from the DB and the sent fields are updated:By sending:
What I get deserialized is User's and UserInfo's well loaded.
But if I try to send something like this:
short_date_format
is update, but all the other fields will not be loaded from the DB, setting all of them tonull
. This is not the behavior I would like to get. Am I misusing JMSSerializer and the doctrine constructor?The text was updated successfully, but these errors were encountered: