-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Ray doesnt showcase Request Class in Laravel Nova Resources #847
Comments
Same problem here. No way to dump a Nova request through Ray. |
@Montrii @Vestibule Does this occur if you only install the ray package (and not laravel-ray)? |
Dear contributor, because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it. |
This issue is still open. Until this day Ray refuses to output a NovaRequest object. |
Describe the bug
When i try to "print" a Request (That can be any Request inherited class meaning:
NovaRequest, Request, ResourceCreateOrAttachRequest
etc.) object within Laravel Ray within Laravel Nova, ray does not showcase anything about that object.It does not print
null or undefined
, the object is initialised and does work normally.When i parse the object into variables using
parse_str
, i can then sorta view the object.Versions
2.7.5
You can use
composer show
to get the version numbers of:PHP version: 8.2 (Running Laravel app on Laravel Herd)
Laravel version (if applicable): v10.22.0
Laravel Nova version (additional): 4.27.12
To Reproduce
Steps to reproduce the behavior:
fields(NovaRequest $request)
methods directly or in any method that gets a Request instance passed (such as ->default(callback(ResourceCreateOrAttachRequest $request)
)Expected behavior
Request object should be printed normally into ray without issues.
Desktop (please complete the following information):
Additional context
The issue seems to be related to the project? Using a different Laravel Nova Project with the following versions (Laravel: v.9.50.1, Nova: 4.21.0, spatie/ray: 1.36.0, spatie/laravel-ray: 1.32.1) causes no issue and returns expected behaviour. Printing any Request object in lets say a Controller via a Route works PERFECTLY fine. It only occurres in Laravel Nova Ressources.
The text was updated successfully, but these errors were encountered: