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
First of all, thank you for the work on this library.
We are using this library with Laravel 11, and recently discovered what seems like a bug when a translated model is fetched using belongsTo relationship.
We have a model CategoryRelation that is related to Category model. Now, this category model has a translatable field description.
In all other places where translatable fields are fetched, the library does a great job fetching the correct value and returning it as a single string. This is the only situation where that does not ocurr.
Hope this was clear. In case any more information is needed, feel free to ask.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there!
First of all, thank you for the work on this library.
We are using this library with Laravel 11, and recently discovered what seems like a bug when a translated model is fetched using belongsTo relationship.
We have a model CategoryRelation that is related to Category model. Now, this category model has a translatable field
description
.When fetched in a controller from the Laravel Eloquent ORM, this comes as:
(redacted for simplicity)
In all other places where translatable fields are fetched, the library does a great job fetching the correct value and returning it as a single string. This is the only situation where that does not ocurr.
Hope this was clear. In case any more information is needed, feel free to ask.
Thanks!
The text was updated successfully, but these errors were encountered: