* `Entity` accepts `A: ActiveModelTrait<Entity = Self>`, but `A` is not necessarily `Entity::ActiveModel`. * `DeleteOne<E>` does not carry a generic parameter for `ActiveModel`, making it incompatible with behavior hooks. * `Insert::exec` does not return the model, so `after_save` cannot be triggered.
EntityacceptsA: ActiveModelTrait<Entity = Self>, butAis not necessarilyEntity::ActiveModel.DeleteOne<E>does not carry a generic parameter forActiveModel, making it incompatible with behavior hooks.Insert::execdoes not return the model, soafter_savecannot be triggered.