Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

v3.4.0

Compare
Choose a tag to compare
@ReeceM ReeceM released this 16 Jul 21:04
· 82 commits to master since this release
1c5eddb

This release will resolve the issue that has been brought up in issue #63 where relations weren't being loaded and affected the calling of relations inside emails or mailables.

Fixes

  • Fixes issue #63

Addition

  • Discovery and loading of relations that have factories
  • New config for depth of searching see below for new addition

new config value

    /*
    |--------------------------------------------------------------------------
    | Relationship loading depth
    |--------------------------------------------------------------------------
    |
    | This configures how deep the package will search an load relations.
    | If you set this to 0, relations will not be loaded.
    |
    | off = 0, min = 1, max = 5
    |
    | N.B. This does not configure how many many relationship types are loaded.
    */

    'relation_depth' => env('MAILECLIPSE_RELATION_DEPTH', 2),