cjwatson | tsimonq2: I really do not think it should be done via __getitem__ at all. | 08:42 |
---|---|---|
cjwatson | tsimonq2: If you do that then GET requests will mutate the database, which is wrong. | 08:42 |
cjwatson | tsimonq2: It should be a new factory method and *not* called via __getitem__. | 08:43 |
tsimonq2 | cjwatson: Ok, understood. | 11:29 |
cjwatson | (One practical reason that a new design shouldn't involve mutating the database in a GET request is that at some point we're likely to remove the workaround that does a commit after a webservice GET, since that slows things down and should be unnecessary with correct designs.) | 11:33 |
=== Laney is now known as Guest24649 | ||
=== lan3y is now known as Laney |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!