type column needs to be fillable
bluehatfish opened this issue · comments
bluehatfish commented
Might be worth a note in the readme - the type column needs to be fillable/not guarded in the parent model. Only took me 3 hours to figure that out :)
Also maybe update the link in your blogpost here - https://tighten.co/blog/extending-models-in-eloquent to this repo.
Caleb Porzio commented
Good catch - added to docs 👍
Nathan Heffley commented
Based on my usage of this package it appears as though type
no longer needs to be fillable for this package to work.