-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Using dingo for internal requests #15
Comments
That's correct yes. Internal requests are tied in with the actual API itself. So the API needs to be built with Dingo. Honestly it's not that hard to do, if you look at |
Solid. While I dont think I want to go back and retrofit a portion of the project that is already done and functional, I fully plan on using this for the next platform! Thanks for open sourcing this! |
Instead of using the existing Laravel router we will use a new instance. This should prevent the APIs internal dispatcher from overriding the current route on the actual Laravel router instance. There does not seem to be any need for the router instance that is injected into the adapter to be the actual Laravel router, as the adapter just needs an instance to dispatch the API-only routes.
I currently have the backend API built using Teepluss' Restable package. I am now at the point of development that I need a package to make internal calls with. It looks like dingo can only be used for internal requests if the response is also coming from dingo, am I correct in thinking that?
The text was updated successfully, but these errors were encountered: