ttu / dotnet-fake-json-server

Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
https://ttu.github.io/dotnet-fake-json-server/
MIT License
388 stars 84 forks source link

Merge patch should support nested properties #56

Closed ttu closed 2 years ago

ttu commented 5 years ago

Should be able to update e.g. only parent with id 1

PATCH /api/families/19/parents/1

{
  "name": "Kyle",
  "work": {
    "companyName": "PAWNAGRA",
    "address": "679 Ebony Court, Loma, Puerto Rico, 7716"
  }
}

Current implementation supports patch only from the root-level e.g. /api/families/19.