CircleOfNice / DoctrineRestDriver

GNU General Public License v3.0
153 stars 44 forks source link

Routing configuration for each method #24

Closed TobiasHauck closed 8 years ago

TobiasHauck commented 8 years ago

What is this feature about (expected vs actual behaviour)?

While implementing the twitter API I realized that we need more configuration options regarding specific routes for each method (GET friendships/show, POST friendships/create). Actually the routes are built by conventions - which is generally pretty nice I think.

How can I reproduce it?

Try to tell the driver to send a GET request to friendships/show, but a POST request to friendships/create by using the same entity. It isn't possible at all.

Does it take minutes, hours or days to fix?

Minutes

Any additional information?

TobiasHauck commented 8 years ago

This one needs a bigger refactoring to do it right, so it will take some time to complete it.