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
I'm attempting to deserialize a JSON object into existing Doctrine entities and where a field in the database contains text it is not overwritten when the same field in the JSON is empty.
The only way at present is to fill any empty strings with a single space which will then be shown in the entity by serializer. Does anyone know why this is and if there is a way around it?
The text was updated successfully, but these errors were encountered:
I'm attempting to deserialize a JSON object into existing Doctrine entities and where a field in the database contains text it is not overwritten when the same field in the JSON is empty.
The only way at present is to fill any empty strings with a single space which will then be shown in the entity by serializer. Does anyone know why this is and if there is a way around it?
The text was updated successfully, but these errors were encountered: