To the context I know, there is a base Model in a package
class ModelA extends Model {
protected $casts = [
'field'
];
In the extended model, he is trying to use the $this->mergeCasts function in the constructor to merge some casts but also override 'field'. So package field is set to text, in project he's trying to change it to 'encrypted'.
The situation is he's calling a Seeder... which is calling a factory, that factory model is calling the project level extended model, but its not obtaining the updated casts from mergeCasts().
Without the code, is anyone understanding any ideas what may be missing?