ayende/ravendb — pull request #121 by mattwarren (2012-07-17 12:08:00+00:00)
Title: Advanced Patching using JavaScript

This is for this issue http://issues.hibernatingrhinos.com/issue/RavenDB-305

The unit tests show all the functionality https://github.com/mattwarren/ravendb/blob/master/Raven.Tests/Patching/AdvancedPatching.cs, I *think* I've covered everything that the existing patch mechanism allows, but if not let me know.

The main question I had was, are you happy with the method I've used https://github.com/mattwarren/ravendb/blob/master/Raven.Database/Server/Responders/DocumentBatch.cs#L49 and https://github.com/mattwarren/ravendb/blob/master/Raven.Database/Data/CommandDataFactory.cs#L50. The use of "ADVANCEDPATCHING" for the http request type?