@mmanos There's some issue where if you call $model->setMeta('key', 'value') more than once it that it will actually attempt to create another meta pivot record via findOrCreateMeta() which when that tries to find a meta it uses an array that is out of date with Laravel and the only way to solve is after calling unset($model->metas) on the cached relation. I suspect this might affect unsetMetas() as well so this really would be nice to solve in this package somehow.
@mmanos There's some issue where if you call
$model->setMeta('key', 'value')
more than once it that it will actually attempt to create another meta pivot record viafindOrCreateMeta()
which when that tries to find a meta it uses an array that is out of date with Laravel and the only way to solve is after callingunset($model->metas)
on the cached relation. I suspect this might affectunsetMetas()
as well so this really would be nice to solve in this package somehow.