-
Notifications
You must be signed in to change notification settings - Fork 109
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
Why do only some API resource routes receive names? #43
Comments
Do you mean add names for the different methods? At the moment the list of names matches the list or URLs that are registered. |
Yes but there are all of the other method types on those URLs which don't receive names. |
I suppose I just added the ones that are needed to generate the JSON API |
For what it's worth, here is a package which would be a compliment to this package for client-side management of named routes if all API routes had proper names. Right now it cannot be used properly with this package if named routes is intended. |
Yep, I've added the route names for all the routes to the registrar refactor that I've done on the |
The new routing now has names for all routes. This has been merged into |
Referencing the wiki here...
https://github.com/cloudcreativity/laravel-json-api/wiki/Routing#route-names
Is there a reason why the other created resource routes don't receive a name? It seems to me that they might as well.
The text was updated successfully, but these errors were encountered: