Skip to content

Commit

Permalink
Update readme once more
Browse files Browse the repository at this point in the history
  • Loading branch information
Morcatko committed Apr 2, 2019
1 parent 3097a0f commit c1f029b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ public void Patch([FromBody] JsonMergePatchDocument<Model> patch)
...
}
```
You can apply a patch to a different Type (be carefull, all C# static typing is ignored) - see [#16](https://github.com/Morcatko/Morcatko.AspNetCore.JsonMergePatch/issues/16) for more details.
```
BackendModel backendModel;
JsonMergePatch<DtoModel> patch;
patch.ApplyTo(backendModel)
```

4. Swagger config (optional)

Expand Down

0 comments on commit c1f029b

Please sign in to comment.