php-crud-api
php-crud-api copied to clipboard
Suggestion: map foo/:id/bar to foo/:id?join=bar
Just started using this library and already love it too much. ❤️
As title states. This follows the more common approaches and makes a little bit more sense.
A minor thing, and maybe hard the implement in the backend (didn't take a look at it (yet) to be honest). So don't worry about it too much, just a little suggestion.
Thank you for your kind words. You may add this functionality by implementing a rewriterule. Note that there can be multiple join paths in the query, so it wont be an ideal match for a rewriterule (you will have to model multiple join paths somehow).