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
When upgrading to 3.14.0-rc1 I notice a few errors like this:
Error : Typed property Entity::$updated_at must not be accessed before initialization
/Volumes/CS/www/website/vendor/jms/serializer/src/Accessor/DefaultAccessorStrategy.php:89
This is related to properties on classes that are not initialized yet. One example is this:
When upgrading to 3.14.0-rc1 I notice a few errors like this:
This is related to properties on classes that are not initialized yet. One example is this:
Normally, this would be fine as the
markUpdated
method would be called on persist / update.But when serializing an entity that's not yet persisted, this error happens.
The text was updated successfully, but these errors were encountered: