Skip to content

Hooks are being duplicated from child classes #19

@ragingdave

Description

@ragingdave

It seems that hooks are being duplicated in the pipeline for models that extend a base class that includes the Eloquence traits. As an example creating a base model and including eloquence, mappable, and mutable, end up adding into the pipeline 2 mappable hooks and 2 mutable hooks.

This ends up some how entering an infinite loop. This seems to also only happen when a large number of models using both mappable and mutable are all related and used en masse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions