Currently it is impossible to extend the base Menu model using the configuration option in the HTTP Controller MenuController. It will always use Outl1ne\MenuBuilder\Models\Menu. We're using this for adding traits onto the model, but as the reference is static to Outl1ne\MenuBuilder\Models\Menu, it will never use those traits when performing model operations within Nova (such as doing something when models are saved by using static::saved).
Please, instead of using the Outl1ne\MenuBuilder\Models\Menu model use the one defined in the config file (nova-menu.menu_item_model).
Currently it is impossible to extend the base Menu model using the configuration option in the HTTP Controller
MenuController
. It will always useOutl1ne\MenuBuilder\Models\Menu
. We're using this for adding traits onto the model, but as the reference is static toOutl1ne\MenuBuilder\Models\Menu
, it will never use those traits when performing model operations within Nova (such as doing something when models are saved by usingstatic::saved
).Please, instead of using the
Outl1ne\MenuBuilder\Models\Menu
model use the one defined in the config file (nova-menu.menu_item_model
).