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
Since 3.12.0, the serialization of json changed, introducing what I think is a BC break.
I have a Doctrine column define as follow @ORM\Column(name="value", type="json", options={"jsonb"=true}, nullable=true)
Before 3.12.0, when the value stored was equals to true, the serialized value was true.
In 3.12.0 it now returns {true}.
I think this is link to recent changes here. I commented this line and got what I expected, ie true
Since 3.12.0, the serialization of json changed, introducing what I think is a BC break.
I have a Doctrine column define as follow
@ORM\Column(name="value", type="json", options={"jsonb"=true}, nullable=true)
Before 3.12.0, when the value stored was equals to
true
, the serialized value wastrue
.In 3.12.0 it now returns
{true}
.I think this is link to recent changes here. I commented this line and got what I expected, ie
true
Steps required to reproduce the problem
@ORM\Column(name="value", type="json", options={"jsonb"=true}, nullable=true)
Expected Result
true
Actual Result
{true}
The text was updated successfully, but these errors were encountered: