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
There is an feature which allows to cast value of attribute of entity.
Could someone add another options to switch in Entity::castAs($value, string $type)
i.e. like this:
I'm not opposed to this. Though I believe there are some security risks when storing json values as an array and not an object, so we might consider not checking for square brackets, just curly braces.
There is an feature which allows to cast value of attribute of entity.
Could someone add another options to switch in Entity::castAs($value, string $type)
i.e. like this:
imho it will be useful.
The text was updated successfully, but these errors were encountered: