mirror of
https://github.com/flarum/core.git
synced 2025-05-02 21:47:59 +02:00
* FIx broken post/discussion soft delete Before the Model typescript rewrite, `pushAttributes` supported including relationship objects, which is hacky but incorrect behavior. With the rewrite, this functionality was broken. This PR deprecates the functionality, adds a deprecated BC layer with a debug warning, and removes instances of incorrect usage. * Update js/src/common/Model.ts Co-authored-by: David Wheatley <hi@davwheat.dev> * Update js/src/common/Model.ts Co-authored-by: David Wheatley <hi@davwheat.dev> * chore: format Co-authored-by: David Wheatley <hi@davwheat.dev>