-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
[5.1] Request object is not serializing #11551
Comments
The request object cannot be serialized. This is because it contains properties which contain objects containing closures. |
You can get all the data out the request by writing |
I got it from doing |
Dirty hack
usage :
|
Please be aware that if your original request had a json content type the request object might not function as expected. |
I have a queued Job which accepts
Request
object. But I get error stating:Tried Debugging, found out that Request object is not getting serialized.
Plus, It is an object, why is it getting as Closure.?
The text was updated successfully, but these errors were encountered: