Adam

Results 24 comments of Adam

I am not too sure about the detail of the package, but from a users perspective, I would love to see the same kind of behaviour as in the model...

Hey! I like this! Abstracting it out is definitely a good call... although I feel it can go further, even if I am not sure how that works just yet!...

Agree with this. RowView was one of my most favourite features. Just upgraded to V2 and was suprised I could not find it.

Can anyone suggest where the applyTenantScopesToDeferredModels() function should be called? I find the only place it works is before each user model call inside the controller. i.e ```php Landlord::applyTenantScopesToDeferredModels(); $users...

OK I fixed it... really no idea what was causing it but I think it may have had something to do with a default method failing. I just deleted all...

I may have actually spoken too soon on the above, but I don't think its a bug but rather poor understanding of how the package works behind the scenes. In...

For me, it's just the confusion of the nested relationships. i.e. ``` // This does not work when calling ModelAFactory::new(); ModelA -> hasMany -> ModelB's -> belongsTo -> ModelC ```...

To add a little more context: ```php // This works OrderFactory::new() ->withOrderItems( OrderItemFactory::times(10) )(); // This works $product = ProductFactory::new()->create(); OrderFactory::new() ->withOrderItems( OrderItemFactory::new()->make(['product_id' => $product->id]) )(); // This does not...

> As a sidenote, FYI the `` must be wrapped inside a `` Unless you set inline:true within the tiptap image extension, the images are not inside a p tag...