-
In the following code, the expected path created should be /engine/horsePower, however, because of Engine has the `[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]` attribute, the path is …
-
I searched for solution to this use case, and saw [here](https://github.com/aspnet/Mvc/issues/1976) that @sergkr ask for this. any news about this? where can I read docs? thanks!
-
For the following typical `replace` operation
```
[
{ "op": "replace", "path": "/Name", "value": "Roger Federer" }
]
```
**Before:**
![image](https://cloud.githubusercontent.com/assets/65…
-
Hi,
I have decorated different actions in different controllers with:
[SwaggerRequestExample(typeof(JsonPatchDocument), typeof(PatchTypeOneExample))]
and
[SwaggerRequestExample(typeof(JsonPatc…
-
`JsonPatchDocument.ApplyTo()` fails with `Microsoft.AspNetCore.JsonPatch.Exceptions.JsonPatchException: 'The value 'XXXX' is invalid for target location.'` in case the model has `[JsonConverter(typeof…
-
I have what seems to be a very similar issue to issue #3586, where TryValidateModel throws an Object reference error when unit tested. During normal operation with similar data being passed into the c…
-
Consider following code snippet (unit test)
```C#
var list = new List();
list.Add("[{ 'op': 'add', 'path': '/foo', 'value': {'bar': 'baz'}}]");
list.Add("[{ '…
-
I am wondering what the best way to patch an document is, when I want to preserve the `ETag`:
**Version 1**
```csharp
JsonPatchDocument patch = ...;
// getting the document
Document documen…
-
_From @kirthik on March 20, 2015 9:37_
Test operation in code today does not compare anything. Removing the TODO from code. Pasting code snippet for reference.
```
var conversionResultTuple = Proper…
-
The implementation of Operation differs from Operation in that Operation throws a JsonPatchException when Test is used. This type of exception is caught and "reported", then the ApplyTo is short circ…