3 ms·
I think that's a bad example, because it almost perfectly matches up with REST. user = UserApi.get(id) user.name = "Clay" UserApi.put(user) Does using put i
by mattmcknight 6y ago
I think that's a bad example, because it almost perfectly matches up with REST.
user = UserApi.get(id)
user.name = "Clay"
UserApi.put(user)
Does using put instead of save really bother you that much?
The tight coupling doesn't matter if you are building a web service. HTTP is how they work.
- WClayFerguson 6y agoWhat bothers me is that if I have a verb called "transmogrify" in my API's domain language the REST purists will try to tell me not to use that verb, because some preexisting generic CRUD-type verb can be made to work instead. Sorry, no, that's awkward.