Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent lazyloading #67

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Prevent lazyloading #67

merged 1 commit into from
Apr 3, 2024

Conversation

AlexisSerneels
Copy link
Contributor

If not set, the relationship is not lazyloaded and you can get errors like :

Attempted to lazy load [versionable] on model [Overtrue\LaravelVersionable\Version] but lazy loading is disabled.

if enforced.

This PR prevents that.

If not set, the relationship is not lazyloaded and you can get errors like 
```
Attempted to lazy load [versionable] on model [Overtrue\LaravelVersionable\Version] but lazy loading is disabled.```
if enforced.
@overtrue overtrue merged commit f72f143 into overtrue:5.x Apr 3, 2024
1 check passed
@overtrue
Copy link
Owner

overtrue commented Apr 3, 2024

Thanks.

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

Successfully merging this pull request may close these issues.

None yet

2 participants