-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Global scopes are not serialized #3
Comments
Thank you for the report. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
When a model attaches a global query scope on
booted
that is not serialized.Steps To Reproduce:
Add this to a model:
Create a basic query for that model and serialize it, then unserialize it. The unserialized query will not have the global scope applied.
On the other hand if we do this as a local scope, it works as expected:
The text was updated successfully, but these errors were encountered: