I don't currently see a way to send a patch request formatted as a JsonPatchDocument. If I construct the JsonPatchDocument myself and pass it to .Set()
var jpatch = new JsonPatchDocument();
jpatch.Replace("MyFieldName", "newValue");
oDataClient.For("Mycollection")
.Key("keyValue")
.Set(jpatch)
.UpdateEntryAsync().Result;
I get an exception complaining about "Operations" not being part of the collection type.
Is there a different way to do this and if not, would you be open to a PR?
I don't currently see a way to send a patch request formatted as a JsonPatchDocument. If I construct the JsonPatchDocument myself and pass it to .Set()
I get an exception complaining about "Operations" not being part of the collection type.
Is there a different way to do this and if not, would you be open to a PR?