spatie / laravel-schemaless-attributes

Add schemaless attributes to Eloquent models
https://spatie.be/en/opensource
MIT License
996 stars 58 forks source link

Not working with Pivot extra fields? #97

Closed elfeffe closed 1 year ago

elfeffe commented 2 years ago

My "meta" is on the pivot table, and I try to access like this: $variant->pivot->meta->default_value

It has an error, meta is a string. It's not casting as Schemaless. But I'm not sure this is Spatie's or Laravel's bug.

spatie-bot commented 1 year ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.