Closed aspnet-hello closed 6 years ago
This is not a functionality we provide explicitly, but you can use something like AutoMapper(http://automapper.org/) to handle it.
It is almost useless without this feature.
void Patch(JsonPatchDocument
Hi,
is there any new solution to perform this kind of actions? I've two scenarios for this where I'm getting stuck:
1) I have a gateway that first receives the PatchDocument and then propagates request for proper service through it's SDK. Gateway type is JsonPatchDocument
From @sachinpachori on Wednesday, December 27, 2017 3:19:02 PM
This is a common scenario where your DTO/viewmodel could be different from the Entities. In this case how to use this JSONPatch with ApplyTo function. If possible, I think you should work on providing this feature.
Copied from original issue: aspnet/JsonPatch#127