-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
[Proposal] PATCH instead of PUT #818
Comments
Post a question or real issue, not a slideshow. |
@xtrasmal you have the choice, choose whatever you like. Both PUT/PATCH are handled by the update action. Strictly speaking |
Taylor mentioned in that ticket that he took the same approach as Rails. This article says they do prefer PATCH for updates now. Time to reconsider? |
@taylorotwell I posted a slideshow, because it is quite a complete presentation of a concept. If I had a question I would have put some more time into it. Before posting it here I considered posting this at the forums, but thought this would reach the right people. Maybe you understand. So excuse my slideshow, I just wanted to add something that might have slipped somebodies mind and could have been a useful contribution. |
I was trying to say that your suggestion should be seriously considered... |
@franzliedke 's pointing to the rails article may really be a call to reconsider, @taylorotwell. Since you made your decision back then based on the rails way of things, and since laravel is still in beta, it might be better to change this sooner than later. |
@xtrasmal maybe keep this issue open, so we can discuss this and it doesn't fall off the radar? |
@frankmayer Opened it in case of further discusson. Reopened for dicussion. |
I think we're pretty good here really. We basically take the same approach as Rails in this scenario with routing both PUT and PATCH to the |
Using migrate:fresh instead of migrate for DatabaseMigrations
Please look at this stuff: https://speakerdeck.com/nicola/developing-restful-web-apis-with-python-flask-and-mongodb?slide=113
The text was updated successfully, but these errors were encountered: