Update Update.php
Update Update.php

Wondering if it would cause issues if $this->syncPivot() gets called just before $item->update?

Background: I'm using Algolia Search and their Laravel integration. If this is used with n:n relations, the updated attributes on a relation are ignored (or outdated) as they are refer to the current Model attributes (in $this) which has not yet "received" the updated attributes.

https://www.algolia.com/doc/api-client/laravel/relationships#relationships
Laravel-Backpack/crud,Laravel-Backpack/crud,fede91it/crud,fede91it/crud,fede91it/crud,Laravel-Backpack/crud,Laravel-Backpack/crud,fede91it/crud