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

Not working with Inertia #2

Open
sinnbeck opened this issue May 17, 2023 · 0 comments
Open

Not working with Inertia #2

sinnbeck opened this issue May 17, 2023 · 0 comments

Comments

@sinnbeck
Copy link

It seem to not work with Inertia. All classes are type hinted to return Illuminate\Http\Response. The problem is that Inertia mostly returns JsonResponse instead which does not extendIlluminate\Http\Response, but instead Symfony\Component\HttpFoundation\Response.

I assume type hinting Symfony\Component\HttpFoundation\Response instead would fix all errors. Let me know if you want me to do a PR for this :)

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

No branches or pull requests

1 participant