Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Consider lazy() method for relationship #2

Closed
ludo237 opened this issue Dec 4, 2018 · 1 comment
Closed

Consider lazy() method for relationship #2

ludo237 opened this issue Dec 4, 2018 · 1 comment

Comments

@ludo237
Copy link

ludo237 commented Dec 4, 2018

Hello.

First of all, great package!

I've noticed that relationships are generated using and old method. Have you considered using factory(App\REPLACE_THIS::class)->lazy(); instead?

It should not be a problem since the package is targeting illuminate 5.7 and lazy() is present since 5.5

@Naoray Naoray closed this as completed in 4da49d0 Dec 4, 2018
@Naoray
Copy link
Owner

Naoray commented Dec 4, 2018

Hello @ludo237,

thanks for pointing this out! Didn't know a lazy() method existed. Added it in v1.0.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants