Skip to content

Use Model::afterFind() to add related tags/models to returned data #3

Description

@ProLoser

It just seems strange that you need to use a separate trigger to retrieve this information, especially when Tags is pretty much a standard direct HABTM relationship to the model. But optionally having related models all present (if the option was passed) seems to be a better consolidation of methods.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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