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
This is the root cause for the issue described in doctrine/DoctrineMongoDBBundle#564: a property was mapped as an embedded document, but the data received from the database was a scalar value. In order to avoid type errors, the hydration logic needs to better assert expected types.
The text was updated successfully, but these errors were encountered:
FWIW have no idea we can fail gracefully if we expect an object and get a scalar. Unless more gracefully as throw an exception instead of a type error? :)
This is the root cause for the issue described in doctrine/DoctrineMongoDBBundle#564: a property was mapped as an embedded document, but the data received from the database was a scalar value. In order to avoid type errors, the hydration logic needs to better assert expected types.
The text was updated successfully, but these errors were encountered: